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🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 7,314 views · 67 clicksSaaS · Week 46 · 7,314 views · 67 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 46,581 views · 232 clicksWebsite · Week 46 · 46,581 views · 232 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 44,522 views · 127 clicksSaaS · Week 46 · 44,522 views · 127 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 63,410 views · 206 clicksSaaS · Week 46 · 63,410 views · 206 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 32,653 views · 127 clicksDesktop App · Week 46 · 32,653 views · 127 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 8,283 views · 19 clicksWebsite · Week 46 · 8,283 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
6,910 views · 29 clicksWeek 46 · 6,910 views · 29 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
6,394 views · 18 clicksWeek 46 · 6,394 views · 18 clicks