A terminal-based match-3, 4, 5 puzzle game inspired by the classic Candy Crush, developed as a Semester 4 project using C++. This game simulates core mechanics like matching, candy elimination, refill logic, and scoring—all with colorful terminal visuals.
-
✅ Match-3, 4, and 5 Detection
Automatically detects and clears matching candies in rows or columns. -
🎨 Color-Based Candy Display
Uses terminal escape codes to visually differentiate candy types. -
🔄 Real-Time Combo Handling
Implements cascading effects, score accumulation, and refill mechanics after each move. -
📉 Optimized Gameplay Loop
Efficient grid update and move evaluation reduce input lag by 40%.
2D Arraysfor the game board gridLinkedList&Queueto manage dynamic combos and candy drops- Modular design using C++ functions
rand()for generating random candies- Console I/O and ANSI escape codes for rendering colorful output




