Commit Graph

11 Commits

Author SHA1 Message Date
Fabian @ Blax Software 6e6c12f9b5 feat: scouts: a scout unit that meets the defending scouts and reports troops, resources and buildings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:10:49 +01:00
Fabian @ Blax Software 6a1486b9de feat: combat, travel and loot rules: TravelTime, CombatResolver, LootCalculator, watchtower and hiding place values
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:56:55 +01:00
Fabian @ Blax Software 8877c6f505 feat: levels start at 1, like Die Stämme; level 1 has the base values
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>
2026-10-28 22:26:25 +01:00
Fabian @ Blax Software 65a4e4b5d4 feat: building space grows with the headquarters: 40 plus 20 per level
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>
2026-10-28 22:16:45 +01:00
Fabian @ Blax Software 93e9b09c5c feat: starvation: food zero-crossing event, grace timer, desertion waves
Starvation::sync() runs after every mutation and event: it keeps food.runs_out at
the moment the stock hits 0, starts the grace timer once the village starves and
stops it when income covers upkeep again. Each desertion wave takes the fewest
soldiers, highest upkeep first, that feed the rest; then the levy ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:03:33 +01:00
Fabian @ Blax Software 458ae1bfd6 feat: levy: draft villagers as militia for a fixed time, back to work on their own
Drafted villagers still eat but stop working; recruiting trains only undrafted ones.
A levy.ends event settles the village and sends them back; village.endLevy ends it early.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 21:55:44 +01:00
Fabian @ Blax Software 8fa7e9b649 feat: units, military buildings and recruiting with per-building queues
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 21:39:48 +01:00
Fabian @ Blax Software ab35b277ac feat: spawn ring that grows with the world, and barbarian villages that grow over time
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 21:32:09 +01:00
Fabian @ Blax Software 3b131c204b feat: villagers fill 80% of farm output, so food builds up
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 21:28:16 +01:00
Fabian @ Blax Software 34aa8acead refactor: building space instead of a tile grid, plus village points and continent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:45:02 +01:00
Fabian @ Blax Software a8b3ea78d2 feat: game config, WorldConfig and the pure M1 rules with unit tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:17:34 +01:00