Bottle Sort Puzzle – Android Game Java Native

Description
A complete, production-ready bottle sorting game where players tap bottles to pour colored liquid until every bottle is uniform. The project ships with deterministic 500-level progression, polished animations, sound effects, dark/light themes, star-based scoring, and persistent progress. Written in pure Java with custom Canvas rendering; no external game engines or heavy third‑party SDKs. Ideal for a quick rebrand, ad monetization, or expansion.
Features
- 500 solvable levels with difficulty scaling (3–8 colors, 5–10 bottles).
- Hint system using BFS solver: highlights source/target for 3s.
- Unlimited undo and instant restart per level.
- Star rating based on move efficiency; progress saved via SharedPreferences.
- Dark mode + in-app toggle; responsive grids (3 or 4 columns).
- Custom `BottleView`with selection bounce, pour animation, shimmer, and win overlay fade.
- SoundPool SFX (pour, click, win, error) in `res/raw`.
- Level select grid with lock/unlock and total stars indicator.
- Pause/menu, about/how-to overlays, share intent text.
- ProGuard-ready release build; minified by default.
- Monetization ready: call spot in `GameActivity.showWinDialog() "for interstitial/ad trigger; easy to add IAP for extra hints
Requirements
- IDE: Android Studio Giraffe/Koala or newer. - Android Gradle Plugin: 8.12.3 (`build.gradle`). - JDK compatibility: Java 8 (source/target). - Compile/Target SDK: 36; Min SDK: 23 (`app/build.gradle`). - Gradle wrapper: allow Studio to re-download `gradle-wrapper.jar` on first sync. - Dependencies: androidx appcompat, material, constraintlayout, recyclerview, and cardview (no other third-party libs). - Tested form factor: portrait phones; emulator or device API 23+.
Instructions
- Open: File → Open `d:BottleSortPuzzleWaterSortPuzzle`; let Gradle sync download wrapper.
- Run: Select device/emulator API 23+ → Run.
- Rebrand: change `applicationId` and `namespace` in `app/build.gradle`; update `app/src/main/res/values/strings.xml` (`app_name`, texts); replace launcher icons in `mipmap-*`.
- Colors/levels: update palettes in `ColorUtils.java`; adjust thresholds in `LevelGenerator.getColorCountForLevel()` to extend beyond 500.
- Ads: insert AdMob/interstitial call inside `GameActivity.showWinDialog()`; optional banner in layouts if desired.
- Sounds: replace WAVs in `res/raw` if you want new audio.
- Build release: Build → Generate Signed Bundle/APK → choose release; ProGuard already enabled; supply keystor
| Author | kranjan |
|---|---|
| Category | App Templates / Android / Games / Casual |
| Price | $15 |
| Extended License | $45 |
| First Release | Mar 30, 2026 |
| Last Update | Mar 30, 2026 |
| Files included | Layered .png, .apk, .java, .xml |
| Operating systems | Android 7.0, Android 8.0, Android 9.0, Android 10.0, Android 11.0, Android 12.0, Android 6.0 |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks