PARTH PATEL.
← Fruit Crush

Match-3 — Unity 6 core

MatchBoard.cs is a minimal match-3 loop for Unity 6: colored cubes, click-to-swap, match detection, gravity, and cascades. The portfolio also ships Fruit Crush in the browser (levels, score, combos).

Setup in Unity

  1. Create a new 3D project in Unity 6.3 LTS (URP or Built-in).
  2. Copy MatchBoard.cs from the repo into Assets/Scripts/.
  3. Hierarchy: Create Empty → rename Board.
  4. Add component Match Board to Board.
  5. Keep Main Camera in the scene (default).
  6. Press Play — click one tile, then an adjacent tile, to swap.

Source

Download the script for Unity 6, or browse the full repo on GitHub:

Web vs Unity

Play Fruit Crush All games