Projects / MicroCiv
Personal projectBrowser game
MicroCiv
A hex-based 4X strategy game in vanilla JavaScript. No build step, no dependencies, and every game is reproducible from its seed.
284test assertions
0dependencies
Seededevery game reproducible

What it does
Explore a hex map, found cities, research technology, and compete against an AI civilization. Units can merge into formations, and cities can focus on food, production or gold.
How it works
Because every game comes from a seed, the same map and choices always play out the same way. That makes balance testable: I run A/B simulations on identical seeds to compare rule changes, like scoring units by their build cost.
Vanilla JavaScriptES modulesSeeded RNGSimulation testing
