Traffic Simulation Game

C++, SFML

Game Premise

The imaginitively titled "Traffic Simulation Game" (temporary name) is a traffic simulation puzzle game. The objective is to build a junction to meet a set of criteria given the physical constraints of the level. It currently features a vector based WYSIWYG junction editor, as well as traffic simulation.

Technical Details

The traffic simulation code runs on a seperate thread in the background, buffering its results similar to an online video. This allows the player to scrub through time to get a clearer picture of how their solution performs. Due to the performant nature of the game, on simple junctions the 2 minute simulation is typically fully buffered without the player noticing that it happened. Even on complex junctions beyond the games initial scope, simulation times don't keep the player waiting, even on 8 year old hardware.

Gameplay