Commit Graph

12 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 58c6cca329 feat: launch scenarios: world overview stats and settings, account password and deletion, lost villages pushed to their old owner, restarts with fresh protection, inactive players' villages turn barbarian
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 11:27:14 +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 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 8cd0aafb88 feat: world generation like Die Stämme: start at 0|0, grow ring by ring, barbarians come with each player
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>
2026-10-29 01:51:37 +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 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 65cd7cd333 feat: map.view windows up to 61 fields for the minimap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:21:34 +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