🌟 Match-3 Game
Candy Crush style puzzle with gem swapping, cascading matches, and combos
⏱️ 7 hours⚡ Intermediate🎮 Game Project
Play the Game
Score: 0Moves: 30
Click two adjacent gems to swap them and make matches of 3+
📋 How to Play
- 1.Click on a gem to select it (yellow border appears)
- 2.Click an adjacent gem to swap them (only horizontal/vertical)
- 3.Match 3 or more gems of the same color in a row/column
- 4.Gems fall down and new ones appear, creating cascade combos
- 5.You have 30 moves - maximize your score!
🎯 Key Concepts
Grid Manipulation
2D array operations for swapping, matching, and refilling gems.
Match Detection
Algorithm to find horizontal and vertical sequences of 3+ matching gems.
Gravity Simulation
Animated falling mechanics when gems are removed from the grid.
Cascade System
Recursive matching after gems fall creates chain reaction combos.