Skip to content

MournfulOx/TopDownRPG_AStar_Pathfinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TopDownRPG

A top-down RPG combat demo built with C++ and raylib, featuring enemy AI, grid-based pathfinding, and unit-tested core systems.

Gameplay Prototype — focused on AI and pathfinding systems

Technical Highlights

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

Controls

Key Action
WASD Move
SPACE Attack
R Restart

How to Build

Requirements: CMake, raylib, Google Test

cmake -B build
cmake --build build
./build/game.exe

Run Tests

cd build
ctest --output-on-failure

Tech Stack

About

A top-down RPG combat demo in C++ with finite state machine, A* pathfinding, and Google Test unit tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors