Commit Graph

57 Commits

Author SHA1 Message Date
Fabian @ Blax Software 7157364a0d fix: the World 1 pace migration keeps started_at, since a season now counts real days
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:18:39 +01:00
Fabian @ Blax Software ea593d932b feat: a season counts real days: the crowns come 30 days after the start and a holder wins after 7, on every world speed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:18:39 +01:00
Fabian @ Blax Software 153e7eb19d feat: World 1 runs at speed 4 with armies at unit speed 0.5; the live world is settled at speed 1 first and keeps its played days and running timers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:14:21 +01:00
Fabian @ Blax Software 4076d073d8 feat: beginner protection lasts 5 real days on every world speed, as in Die Stämme; raids wait for it as before
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:10:28 +01:00
Fabian @ Blax Software d7dcb9603d feat: build times follow Die Stämme: base × a per-level table × 1.05^−HQ, never under a 10 s floor (30 s watchtower, 240 s wall), with Die Stämme's bases
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:06:49 +01:00
Fabian @ Blax Software 8f762120ec test: the map relations test places its barbarian on a free field, so a random spawn can't take it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:59:20 +01:00
Fabian @ Blax Software b20de08ba1 fix: the farm migration raises only villages that the old rule fed and heads don't, so understaffed villages on world speed 1 stay as they are
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:58:44 +01:00
Fabian @ Blax Software 902ec8230f feat: every queued order carries the villagers it holds back, so the client can free them on cancel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:58:44 +01:00
Fabian @ Blax Software c272ecb5f2 test: the lowest farm level that feeds a village, and the farm migration: raise, refund, idempotent, no-op on SQLite, capped at max level
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:58:44 +01:00
Fabian @ Blax Software a2f4e01092 test: heads on a speed 100 world, the food rate and starvation at world speed, idle villagers for new buildings and upgrades, reservations, farms exempt, demolish and levy, lint in heads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:58:44 +01:00
Fabian @ Blax Software b3a73c647d fix: a worker that was down runs one barbarian wave for all it missed, then the next comes an interval from now
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:36:26 +01:00
Fabian @ Blax Software b6c570809b test: barbarian waves near active players, none for idle ones or ended worlds, the next wave planned, replays and resets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:33:52 +01:00
Fabian @ Blax Software 924f2d1d8a test: market sends, offers, routes, lost villages and staying out of the rally lists
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:08:32 +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 1780ee510a feat: raids follow real hours (every 20 to 40, three hours of warning) on every world, only the band marches at world speed; half a ram per wall level
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 2c20fd24ea fix: copies pay by the same rank they work at: by level, so the copy that gives less pays double
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:58:56 +01:00
Fabian @ Blax Software 5b5a412d71 feat: copies of a building type work at a falling share (economy.instance_share 0.5)
Instances of a type rank by level, then id; rank n works at 0.5^n: production,
the farm's nominal food, storage, hides, hospital beds and training speed. Workers
stay full. The payload carries instance_share on every building and build option,
and effects/next_effects at the building's share.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:57:54 +01:00
Fabian @ Blax Software 12a994e91c feat: one farm feeds a full army: farm production factor 1.25 (level 30 about 19,400 food/h)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:57:54 +01:00
Fabian @ Blax Software fe46b74afa feat: copies cost double: instance_cost_factor 2.0 for every type that allows copies
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:57:54 +01:00
Fabian @ Blax Software 1c33ba117f test: noblemen train without coins; a conquest without a free slot leaves loyalty at 0 and the noblemen go home; 1 coin takes the 2nd village, 3 the 3rd
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:52:09 +01:00
Fabian @ Blax Software 46b3c6f241 feat: Lazarett: half of the own defenders who fall come back wounded into the hospital's beds, eat meanwhile and stand again after four hours
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 13:45:02 +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 54a6fc5e8c feat: map.view tells until when an own command can be called back (cancel_until), so the map can offer it
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 11:14:49 +01:00
Fabian @ Blax Software fcdcb089cc feat: registration checks name rules and uniqueness, email, password and accepted terms, and names the wrong field; players get protected_until and last_active_at
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 11:13:57 +01:00
Fabian @ Blax Software 64f0d40256 fix: a called-back command heads home from where it turned round: its return's sent_at lies as far back as it still had to go, so the map's straight line puts it in the right spot
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 11:05:20 +01:00
Fabian @ Blax Software 874cb14b81 feat: map.view tells each village's relation to the viewer and its owner's tribe, and lists the movements the player knows of with a size tier
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 11:00:51 +01:00
Fabian @ Blax Software 9f2a89b498 feat: chat on a world: world, tribe and direct channels with unread counts and live pushes
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 10:56:17 +01:00
Fabian @ Blax Software 1a5ae64b29 feat: tribes and diplomacy: found, invite, roles, leave and kick; alliances and NAPs accepted by both and ended with notice, enmity declared alone; no attacks within a tribe or across a pact; tribe ranking
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 10:47:41 +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 dc41186b47 feat: ranking: players and villages by points, opponents defeated in attack and defence
ranking.index pages 25 rows and opens on the user's own row. Battles bump
defeated.attack and defeated.defense by the food the fallen ate; defenders share by
what they had standing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 16:24:57 +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 973025ae14 feat: conquest: coins minted at the academy, noble slots, loyalty that noblemen lower, villages that change hands
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 10:28:20 +01:00
Fabian @ Blax Software 2336d746ff feat: quest book with construction, army and village lines, and a reward for every building level reached the first time
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 10:05:55 +01:00
Fabian @ Blax Software 550f7625eb test: a barbarian in the rally tests steps aside when another player spawned on its field
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 10:05:55 +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 dfe5f50ac6 feat: report.index filters by kind: attacks, defence, support
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:57:09 +01:00
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 28ee28120b feat: battle simulator: rally.simulate runs the world's combat rules on any setup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:08:43 +01:00
Fabian @ Blax Software e75a755e48 feat: village.rename: own villages get a new name of 1 to 32 characters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:07:56 +01:00
Fabian @ Blax Software 120d6dcd22 feat: rally point: send attacks and support, battles with loot and siege, return trips, recall, reports
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