Tower Defence game implemented in C++ and SFML
This project is a UI-based Tower Defence game constructed using the C++ SFML library. It features all standard gameplay elements with additional options. The game offers three levels, each with an increasing degree of difficulty and multiple waves of progressively challenging enemies.
-
Fixed Game Window Size: Resizing might cause disruptions in the game due to its fixed-button layout.
-
Levels & Enemies: Three levels with 5-10 enemy waves. As waves progress, enemies become stronger and faster.
-
Player Stats: Start with 10 hitpoints, each hitpoint corresponding to one enemy reaching the game's end. The game concludes if 10 enemies reach the finish.
-
Towers: Four distinct towers, each with unique capabilities and costs.
- Basic Tower: Shoots a bullet every 2 seconds and costs 100.
- Freeze Tower (Sniper): Halves enemy speed within range.
- Bazooka Tower: Costs 300 and shoots larger bullets that affect multiple enemies and inflict greater damage than the Basic Tower.
- Boat: Exclusively placed on water tiles, grants the player 50 coins every 10 seconds.
The game relies on strategic tower placement as once a tower is placed, it's permanent.
- External Libraries Used: SFML
- Compilation: Use the
make
command. - Execution: Use the
./main
command. - Gameplay: The user interface is intuitive. Follow on-screen instructions and button descriptions.