Ana Sayfa / Uygulama Şablonları / Color Sort - Puzzle Game Unity Source Code

Color Sort - Puzzle Game Unity Source Code

Bir bulmaca oyunu için Unity'de eksiksiz match-3. 3 zorluk, özel bloklar, çekiç/geri al güçlendiricileri, sıfır kurulumlu Bootstrap mimarisi.

  • Yayın tarihi22 Eylül 2026
  • Son güncelleme22 Eylül 2026
Color Sort -  Puzzle Game Unity Source Code

Overview

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