Deterministic Sim Core
Pure TypeScript computes every number — production, prices, migration, events. Zero dependencies, seeded RNG, unit-tested. Same seed, same game.
Architecture scaffold only
You don't conquer cities. You earn them. A turn-based strategy game where institutions — not armies — decide who prospers. This scaffold establishes the module boundaries; the map, policy tree, and gameplay loop land next.
Pure TypeScript computes every number — production, prices, migration, events. Zero dependencies, seeded RNG, unit-tested. Same seed, same game.
26 policies, 5 cities, and 21 events live in JSON with cited empirical anchors, validated by schema before they touch the sim.
The LLM writes headlines, advice, and negotiation replies. It can propose a deal; only the validated engine executes. Template fallbacks keep the game alive offline.
Orthographic board locked at a fixed 45° angle, instanced buildings. Renders projections of validated state — never raw AI text.
Build order is contract first: the deterministic sim computes, the AI speaks, the renderer draws. Mocked gameplay is never presented as real in the demo.