Color Sort - Puzzle Game Unity Source Code

Description
Color Sort is a complete, ready-to-build match-3 puzzle game built for Unity, with a clean single-Bootstrap architecture that generates the entire UI and game logic at runtime - no manual scene wiring required.
Drag to swap colored blocks, create 4-in-a-row Bombs and 5-in-a-row Rainbow blocks, and clear your target color to win. Three difficulty levels (Easy / Medium / Hard) with tuned move-count and goal balancing, procedurally generated boards guaranteed to always have a valid move, Hammer and Undo power-ups, and a full Main Menu → HUD → Pause → Win/Lose flow.
WHY THIS ASSET IS DIFFERENT Most match-3 templates require hours of manual prefab and Canvas setup. This project builds its entire UI from code at runtime, reading sprites from a simple Resources/ folder structure by naming convention - drop in a single empty GameObject with the Bootstrapper component, press Play, and the whole game (Main Menu, HUD, Pause popup, Win/Lose screen) assembles itself.
Features
- Infinite Levels Game
- 3 difficulties (Easy / Medium / Hard) with balanced move/goal ratios
- Match-3/4/5 detection including L/T-shaped combined matches
- Bomb special block (4-match, 3x3 explosion) and Rainbow special block (5-match, clears one color; combine 2 Rainbows to clear the whole board)
- Procedural level generation - always guarantees at least one valid move, with automatic reshuffle safety net
- Hammer power-up (destroy any single block) and Undo (full state rollback, including move count and power-up counts)
- Entire UI (Main Menu, HUD, Pause popup, Win/Lose screen) built from code at runtime - zero manual Canvas/prefab setup
- Auto-loading sprite & audio pipeline via Resources/ folder naming convention
- Clean, commented, modular C# codebase (GridManager, MatchDetector, GameManager, UIBuilder, etc.)
- Background music + SFX hooks (swap, button click, hammer hit)
Requirements
- Unity 6.0 or newer (uses built-in UGUI Text - no TextMeshPro import required)
- Basic C# knowledge to extend/reskin
Instructions
1. Copy Assets/Scripts and Assets/Resources into your Unity project. 2. Create an empty GameObject, name it "Bootstrap", add the Bootstrapper component. 3. Press Play - the entire game builds itself automatically.
Full documentation, architecture overview, and asset-replacement notes are included in README.md.
| Author | danikkk |
|---|---|
| Category | App Templates / Unity / Templates / Puzzle |
| Price | $21 |
| Extended License | $63 |
| First Release | Sep 22, 2026 |
| Last Update | Sep 22, 2026 |
| Operating systems | Windows 10, Windows 11, Unity 6.0, Unity 6.1, Unity 6.2 |
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