Bonbon Sort - 3D Color Sort Puzzle (Android + iOS)
Complete 3D color sort puzzle for Android and iOS: 3,000 levels, AdMob and IAP
Item Description
Bonbon Sort is a complete, store-ready color sort puzzle game for Android and iOS, with full source code. Players move stacks of glossy 3D sweets between gold stands until every stand holds four of one flavor. Give it your name, your art and your ad and purchase IDs, and publish it as your own game.
The live demo is the same code running in your browser. There, ads and purchases use clearly marked demo screens.
Built to be published
3,000 levels, every one solver-checked. Each level is generated and then played to the end by the included solver, so none of them is impossible. Difficulty is measured for every level and climbs through the game: every 5th level is hard, every 10th is super hard, followed by a breather. After level 3,000 the game generates new levels on the phone to the same standard.
Your own level set. Change one word, the level seed, and the generator builds and checks a completely new set of 3,000 levels. Two games made from this template don't have to share a single level, which helps with the duplicate checks on Google Play and the App Store.
Ads and purchases built in, both optional. AdMob rewarded and interstitial ads, and 15 in-app products through RevenueCat: coin and gem packs, a starter pack, bundles, a piggy bank and remove ads. Paste your IDs into the settings file and they switch on. Leave them empty and the game runs without them, so you can launch first and add monetization later.
Fair by default. No forced ads before level 20, at most one every three levels and three minutes apart, no banners, and bonus videos are always the player's choice. Remove ads is only offered after a player has actually seen an ad. Every rule is a number in one config file.
Privacy handled. Google's consent form for the EU, UK and US states, Apple's tracking prompt, an age question with child-safe ad settings for players under 13, and templates for your privacy policy, terms, support and data-deletion pages.
Reskin without guesswork. A 58-page illustrated guide maps every screen to the file or setting that controls it, then walks you through AdMob, RevenueCat, the store products, building and publishing, with a screenshot for each console step.
What's in the download
- Complete source code: the HTML5, JavaScript and Three.js game, plus Capacitor 8 projects for Android and iOS
- 3,000 levels, the level generator and the solver
- All game art: 10 painted worlds with level backgrounds and home scenes, shop art, icons, and app icon and splash sources
- Tools: rebrand, level generator, icon and splash maker, art optimizer, store screenshots, App Store preview video, playable ads, in-app purchase review screenshots and a pre-release checklist
- The guide as PDF and HTML
- License and third-party notices
Please note
- Music is not included. Add your own licensed tracks; the guide shows where. Sound effects are built in.
- The stores reject near-identical apps. Change the name, art and level seed before you publish; the guide explains how.
Requirements
- Node.js 22 or newer, and Google Chrome (used by the tools)
- Android Studio for Android builds
- A Mac with a current version of Xcode for iOS builds
- A Google Play Console and/or Apple Developer Program account to publish
- Optional: an AdMob account for ads and a RevenueCat account for purchases (both free to start)
- Basic command-line use. No game engine or paid software is needed.
Getting started
- Unzip the download, open a terminal in the folder and run
npm install. - Run
npm run serveand play the game at http://localhost:8766. - Open
game.config.jsonand set your game's name, app ID, logo, save key, level seed and support links, plus your AdMob and RevenueCat IDs if you use them. - Run
npm run rebrand. If you changed the level seed, runnpm run levelsto build your own 3,000 levels. - Replace the art in
www/img/(the guide lists every file and its size) and make your icons withnode tools/make-icon.js. - Run
npm run check, thennpm run androidornpm run iosto open the project and build it.
Every step is explained with screenshots in docs/Bonbon-Sort-Guide.pdf (also as docs/Guide.html).
Features
Gameplay
- 12 candy flavors, told apart by color and pattern
- 6 mechanics that unlock over time: mystery pieces (level 8), frozen stands (25), mini stands (45), chained stands (70), flavor plates (100) and gift boxes (140)
- 4 boosters: Undo (the first one is free in every level), Extra stand, Hint and Unwrap
- Hint follows a path found by the solver, so it always leads toward a win
- "No way to win from here" appears only when the solver has proved it, with Undo and Extra stand offered as a way out
- No time limits, and Restart keeps the same layout
- Endless levels after 3,000, generated in the background on the phone
Meta game
- 10 worlds with painted level backgrounds and home scenes, a new world every 20 levels
- Hearts with a refill timer and unlimited-hearts rewards (every value adjustable)
- Win streak bonus, star chest and piggy bank
- 7-day daily treats, a free daily lucky spin, 3 daily quests and a daily challenge
- Candy collection with bronze, silver and gold tiers, and stand styles bought with gems
Monetization (optional)
- AdMob rewarded videos for double coins, free coins, extra spins, extra hearts and an extra stand, plus interstitials between levels, preloaded and with honest no-fill handling
- RevenueCat with 15 products, restore purchases, and each purchase delivered exactly once, including late and pending purchases
- Without a purchase key, the shop shows only free coins and gem swaps
Technical
- HTML5 and plain JavaScript, Three.js r128 for the 3D candy, Capacitor 8 for Android and iOS
- Android target SDK 36, minimum Android 7.0; iOS 15 or later
- Progress saved on the device, and the board resumes where the player left it
- Automatically lowers the render resolution on slow phones
- Haptics, safe areas for notches, the Dynamic Island and the Android navigation bar, and the Android back button
- Readable, commented code with no license checks and no obfuscation
Publishing tools
- Store screenshots at the exact sizes Google Play and the App Store require
- App Store preview video recorder
- Playable ads for Meta, AppLovin, Unity, Moloco, Liftoff, Google, TikTok and Mintegral, with a test runner
- In-app purchase review screenshots and a pre-release checklist
All Reviews
Verified source code
Free support included
Download code immediately
Quality guarantee for your satisfaction
Support: info@sellanycode.com
All Questions
- Verified source code
- Join 36068+ buyers which trust us!
- Download code immediately
Satisfaction guarantee policy.
Information
| Category | Game Templates / Cordova |
| First Release | 1 December 2026 |
| Platforms | Android 7.0, Android 8.0, Android 9.0, Android 10.0 |
| Files included | .html, .css, Javascript .js, .swift, .java, .xml |
| File Size | 53 MB |
| Frameworks | Cordova |