Balance pass + 40-year soak test

- Power consumption x4: the grid now matters from mid-town on
- Realistic tax multipliers, trimmed service upkeep: profitable cities
- Buildings may claim empty zoned plots (services fit downtown)
- Land value ladder: maturity bonus, size-scaled upgrade sampling,
  thresholds 34/74 -> full L1->L2->L3 density progression
- Soak test: 40 simulated years, 11/11 asserts green (848 citizens,
  7 L3 towers, $190k surplus, proactive grid growth, 1.2ms avg tick)
This commit is contained in:
PolyCity
2026-08-22 19:30:46 +00:00
parent 56bf3fa2a2
commit 2a614b5435
13 changed files with 153 additions and 17 deletions
+1
View File
@@ -79,6 +79,7 @@ resolution; the game auto-fits.
```bash
node tests/engine.mjs # 40-assertion simulation suite (pure Node)
node tests/soak.mjs # 40-year economy/growth/power soak test
node tests/smoke.mjs # headless-browser end-to-end run
node tests/capture.mjs # renders promo screenshots into shots/
```