C++
Build a Tower Defense Game using C++, Raylib & A* Pathfinding
Build a maze-style tower defense game with Raylib (a simpler, immediate-mode alternative to SFML) and a from-scratch A* pathfinding implementation: enemies navigate a grid using open/closed sets and a Manhattan-distance heuristic, and legally reroute around every tower a player places, since placing a tower re-runs A* to make sure the goal never gets sealed off entirely.
8 lessons
Start the first lessonCurriculum
- 1Raylib: Setup and Installationπ quiz
- 2The Grid: Modeling the Mapπ quiz
- 3Why A*? From BFS to Heuristicsπ quiz
- 4Implementing A*: The Priority Queue & Path Reconstructionπ quiz
- 5Enemies: Following the Pathπ quiz
- 6Towers: Targeting, Shooting & Blocking the Gridπ quiz
- 7Waves, Gold, and Game Overπ quiz
- 8Final Project: Finish Your Tower Defense Game
Every lesson is open, take them in order or jump straight to what you need.