A top-down RPG combat demo built with C++ and raylib, featuring enemy AI, grid-based pathfinding, and unit-tested core systems.
Prototype — focused on AI and pathfinding systems
| System | Details |
|---|---|
| Finite State Machine | Enemy AI cycles through Idle → Chase → Attack → Dead states |
| A* Pathfinding | Enemies navigate around obstacles to reach the player in real time |
| Google Test | 14 unit tests covering path correctness, structure, and edge cases |
| Key | Action |
|---|---|
WASD |
Move |
SPACE |
Attack |
R |
Restart |
Requirements: CMake, raylib, Google Test
cmake -B build
cmake --build build
./build/game.execd build
ctest --output-on-failure- C++17
- raylib
- Google Test
- CMake