Skip to content

Saim-Nadeem/CANDY-CRUSH-replica-using-SFML-C-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍬 CANDY CRUSH Replica – Built with SFML in C++

C++ SFML Game Engine MIT License

A visually rich Candy Crush-style game built using C++ and SFML. Match colorful animals, level up, and beat time in Normal or Time Trial mode. Clean visuals, animated effects, and smart mechanics.


🎮 Game Preview

📦 Resources

Resources

🕹️ Gameplay Screenshots

Gameplay 1
Gameplay 2


🌟 Key Features

🧩 Animal Matching

  • Match 3+ identical animals (horizontal or vertical)
  • Cascading logic fills gaps from above

🧮 Scoring System

  • Points for each chain
  • Bonus for:
    • Chains longer than 3
    • Multiple matches in one move
    • Cascades

🎯 Game Modes

  • Normal Mode: Fill the progress bar to clear levels
  • Time Trial Mode: Beat the clock with a live-filling bar

🖼️ Graphics & Animations

  • Custom animal sprites (6 to 8 types)
  • Visually pleasing UI with smooth drag-and-drop

📈 Level Progression

  • Levels require matching a set number of each animal type
  • Timer stress added in higher levels

❌ Game Over Conditions

  • No more moves or timer runs out

🎁 Bonus Features

  • Visual per-animal progress bars
  • Optional player profile system (name, level, stats)
  • Extra points for creative board combos

🛠️ Technologies Used

  • C++
  • SFML (Simple and Fast Multimedia Library)
  • Object-Oriented Programming (OOP)

▶️ How to Run

🔧 Prerequisites

  • SFML installed and properly linked

🛠️ Linux Build Example

g++ -std=c++17 -o CandyCrushGame main.cpp -lsfml-graphics -lsfml-window -lsfml-system
./CandyCrushGame

For Windows: Use Visual Studio or Code::Blocks, link SFML appropriately.


👤 Author

Saim Nadeem
🔗 GitHub: Saim-Nadeem