ParkLogic
View RepositoryParkLogic is a school project: a small traffic simulation with procedurally generated road layouts, written in C++20 with Raylib. Everything runs on a fixed timestep, so the sim is deterministic.
WARNING
No ECS here — plain OOP throughout. Fine for the scope of a school project, not something to copy for anything bigger.
Cars are simple agents. Each one picks a destination, steers toward it with seek and arrive behaviors, then picks a new one. The routing logic and system state are built from first principles rather than pulled from a framework, and the road networks are generated from a seed. A small pub/sub bus connects the sim to the UI, and the whole thing is structured as a small pseudo-engine that stays modular enough to extend.
[04] Project Gallery