Commit Graph

16 Commits

Author SHA1 Message Date
Fabian @ Blax Software 118104ddef feat: barbarian waves config, the pure wave rules (interval, villages per player) and their lint
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:31:21 +01:00
Fabian @ Blax Software 007e80b26a feat: raid camps size the village up first: a band that would lose with less than 30% of the defence's strength stays home until the next raid
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:07:11 +01:00
Fabian @ Blax Software 8fa72392c7 feat: rams in two phases: half fire before the melee, which is fought at the lower wall, the survivors fire the rest after a won battle
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:07:11 +01:00
Fabian @ Blax Software c344eb3a39 feat: volley before the melee: archers and catapults shoot first, from the wall or at it, and kill by what their targets eat; reports and the simulator show the volley's dead
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:07:11 +01:00
Fabian @ Blax Software d55850cec1 feat: loss threshold: a winner ten times stronger loses nobody, the loss curve rises from there to everything at even strength
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:07:11 +01:00
Fabian @ Blax Software b4a7c61921 feat: ConfigLint: instance_share above 0 and at most 1, instance_cost_factor at least 1
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:57:54 +01:00
Fabian @ Blax Software 99d70ef10e feat: seasons: crown forts appear round 0|0, holding three of five for a week wins the world
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>
2026-10-29 16:31:34 +01:00
Fabian @ Blax Software 02abcac325 feat: scarce building space (5 per headquarters level) and village roles
A village whose space is mostly camps becomes a resource village (+20% from its
camps); one mostly barracks, stable and workshop a military village (+20% training
speed, +10% defence). The payload carries the role and the space per role.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 16:20:52 +01:00
Fabian @ Blax Software 1319276e2f feat: raiders: the nearest barbarian camp raids every player village about once a day
A raid.planned event per village picks the nearest camp in range, announces a
band sized by the village's points hours before it marches, and plans the next
one. On arrival the band is as strong as its camp; a beaten camp's band scatters.
Loot goes back to the camp, a beaten band pays a bounty.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 16:07:54 +01:00
Fabian @ Blax Software 7e520512cf feat: barbarian villages hold garrisons that regroup after a hit
Full strength follows the village's points in one of four profiles, capped by its
food; a barbarian.regroups event brings it back a quarter at a time. Existing
barbarians get theirs from the seeder on deploy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 16:02:49 +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 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 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 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