🎮 Get a game · $19

🔴 Sort puzzle · HTML5 game code

Ball Sort HTML5 game source code

Ball Sort is two hit puzzle games in one template: Ball Sort and Water Sort share 500 levels that a built-in solver proved solvable. Mystery and HARD levels, a daily challenge and a full shop of ball skins, tubes and themes keep players engaged for weeks.

  • 500solver-verified levels
  • 2games in one
  • 8ball skins
  • 14missions

One-time payment · source code + Android APK with AdMob · reskin & publish under your own brand · extra APK builds $1

Ball Sort HTML5 game running on a phone

Ball Sort screenshots

Ball Sort menu on a phone
Ball Sort gameplay on a phone

Ball Sort game features

Two puzzle games in one: sort colored balls or pour colored water.

🎮 Controls

Tap a tube, then tap the tube to move to. Keyboard: 1–9 select tubes, Ctrl+Z undo.

💰 Ad placements (AdMob ready)

  • Interstitial every N levels
  • Rewarded: +5 undos
  • Rewarded: extra tube or hint
  • Rewarded: double level coins

🎨 Reskin in minutes

  • 12-color palette, ball skins, tubes and themes are in config.js
  • Regenerate levels with a new seed for a distinct reskin
  • Turn on multi-ball moves, change undo counts and prices

📦 What's included

  • Complete Ball Sort source code (HTML, CSS, JavaScript)
  • Bundled OFL fonts and synthesized audio
  • README with setup, reskin and ad instructions
  • Asset spec for custom graphics
  • Ad adapter for AdMob (Android) and web portal SDKs

Ball Sort as an Android app is included

Your $19 includes the source code and an Android build with your name, icon and AdMob ads (signed APK + AAB for Google Play). Reskinned it later? Rebuild for $1.

🎁 Get code + APK · $19 How it works

Ball Sort game code FAQ

Are all 500 levels solvable?

Yes. Every level was generated and verified by the built-in A* solver, and the solution was replayed before saving.

What is the difference between Ball Sort and Water Sort?

Same puzzles, different feel: balls move one at a time along an arc, while water pours the whole matching layer with a tilting tube animation.

What do I get for $19?

Two things for one game. First, the complete source code as a ZIP: HTML, CSS and JavaScript, bundled offline fonts, a README with setup and reskin instructions, an asset spec for custom art, and any tools (level generators, simulators) that game uses. Second, a ready Android app: a signed APK and a Google Play AAB with your app name, icon and package name, and AdMob banner, interstitial and rewarded ads using your own AdMob IDs. No subscription and no watermark.

How much do extra APK builds cost?

$1 per build. Reskinned the game, changed the name or icon, got new AdMob IDs or released an update? Send us the changes or your updated files and we return a fresh signed APK and AAB.

Do I need coding skills?

No. Each game has one config.js file for names, colors, prices, rewards and difficulty. Art is optional: everything is drawn in code or uses emoji until you add your own images.

More HTML5 game templates

Knife Hit HTML5 game home screen Knife Hit gameplay screenshot 09
🔪 Arcade

Knife Hit

Throw knives into spinning targets, slice apples and beat the bosses.

  • 8 bosses
  • 16 knives
$19 · Details
Block Burst HTML5 game home screen Block Burst gameplay screenshot 02
🧩 Block puzzle

Block Burst

Drag blocks, clear lines, chain combos and beat 100 Adventure levels.

  • 100 adventure levels
  • 2 game modes
$19 · Details
Quiz Rush HTML5 game home screen Quiz Rush gameplay screenshot 05
❓ Trivia quiz

Quiz Rush

A fast game-show trivia game with lifelines, streaks and XP levels.

  • 191 questions
  • 8 topics
$19 · Details