What it does
A 2D game engine written in C++ on raylib, with a Pac-Man clone on top to exercise pathfinding, collision, input, rendering, and audio. Engine code stays separate from game logic.
Architecture
A Window owns the fixed-timestep loop and coordinates four systems: a tile Level, a visitor-pattern Collider, A* PathFinding with a different heuristic per ghost, and an InputHandler that validates moves before committing them.
Game loop
Window
Input
InputHandler
World
Level
Physics
Collider
Runtime
raylib
Technologies
- C++17
- raylib
- OpenGL
- Makefile