Master The Magic - Potion Sort Puzzle for Unity

Description
Master The Magic is the complete Unity source code for a potion/water sort puzzle game, ready for you to reskin, extend, and publish as your own. Built with clean, well-organized C# and a procedural level generator, this gives you a fully working game loop out of the box — no need to build the core logic from scratch.
Every level is generated on the fly and validated with a built-in BFS solver, so you never ship an unsolvable puzzle. The codebase is structured so gameplay logic, level generation, save data, and UI are cleanly separated, making it easy to reskin the art, tune the difficulty, or add new features without digging through spaghetti code.
- Full Unity project source code, ready to open and run
- Infinite, procedurally generated levels (Easy / Medium / Hard)
- Built-in BFS solver — guarantees every generated level is solvable
- Undo and Restart logic included
- Coin system
- Background music and sound effects included
- Clean, well-commented C# split into Core / Generation / Managers / UI
- No paid plugins or third-party assets required
- Simple to reskin: swap sprites, colors, and difficulty curve in minutes
Features
Complete C# source code, not just assetsInfinite procedural level generation (Easy, Medium, Hard)Solver-verified levels (no dead-end puzzles)Undo / Restart systemCoin system and reward logicMusic and sound effects includedSave/progress system (PlayerPrefs / JSON)Clean, modular, easily extendable architectureResponsive UI, works across screen resolutionsFast to reskin and rebrand as your own game
Requirements
Unity 2021 LTS or newer (recommended)Basic C# and Unity Editor knowledge to customize/publishNo paid plugins or external assets needed
Instructions
Create a new Unity project (or open an existing one) in Unity HubUnzip the downloaded file — you'll get two folders: Scripts and ResourcesCopy both folders into your project's Assets folder (e.g. YourProject/Assets/Scripts and YourProject/Assets/Resources)Let Unity import the filesIn the Hierarchy, right-click → Create Empty to add a new empty GameObjectWith that GameObject selected, go to the Inspector → Add Component → search for AutoBootstrap and add itPress Play — the entire UI (menu, bottles, HUD) is generated automatically at runtimeEdit DifficultyManager.cs to change difficulty/level scalingReplace files in Resources/Sprites to reskin the art
| Author | danikkk |
|---|---|
| Category | App Templates / Unity / Templates / Casual |
| Price | $18 |
| Extended License | $54 |
| Likes | 1 |
| First Release | Aug 24, 2026 |
| Last Update | Aug 24, 2026 |
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