The worker ticks seasons every loop: due crowns are placed, a holder who reached
ends_at wins, the world closes and the next one opens with the same rules. Ended
worlds refuse changes, joins and raids. Payloads carry the season, worlds their
winner, the map a crown flag.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The map's coordinates now run from -500 to 499 around 0|0, with DS continent names
counted from the top-left (K55 at 0|0). New villages settle on a frontier whose
radius follows all villages at DS density (0.29 per field), at a random angle in
the direction the player picked; they avoid touching other players, not barbarians.
Each join brings 1.3 barbarian villages on average within a few fields. The
one-time barbarian square around the centre is gone, and game:reset-world wipes a
world back to empty while keeping user accounts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every per-level formula uses level - 1 as its exponent, so a building at level n
costs, makes and scores what it did at level n - 1. The migration shifts stored
levels and queued orders up by one; removing an instance now targets level 0.
Building space: 40 at HQ level 1, plus 20 per level above.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
villages.space becomes the base at HQ level 0 (existing villages 50 -> 40). A queued
HQ demolition counts already, and the HQ can't go below what stands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>