Commit Graph

27 Commits

Author SHA1 Message Date
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 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 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 cc2acaa77d feat: a building level needs idle villagers for the workers it adds: queued orders reserve them, farms are exempt, build options and upgrade offers carry villagers and blocked villagers, lint proves one farm at max level staffs everything
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:58:44 +01:00
Fabian @ Blax Software 25c5007d92 feat: population counts heads, the same on every world speed: farms feed their output at speed 1, and the food rate scales farm output and upkeep alike
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:58:44 +01:00
Fabian @ Blax Software b79dcb81e7 feat: market: merchants carry resources between villages, offers between players, repeating trade routes
Trades are movements (trade, trade_return) that arrive by the target's
movement.arrives event; they stay out of the rally lists, the map and the
rally cancel. A trade.route event sends a route's next shipment. A village
that changes hands loses its trades under way, offers and routes.
WS: market.show|preview|send|offers|offer|cancelOffer|accept|routeCreate|routeUpdate|routeDelete;
the village payload carries market {building_id, level, merchants, free, carry}.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:08:32 +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 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 e3e8f4cf54 feat: coins pay for villages, not noblemen: training a nobleman needs no coins, and a conquest without a free slot leaves loyalty at 0 and sends the noblemen home
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:50:31 +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 d77c02799e perf: the village payload computes the workforce, HQ staffing and instance indexes once (2.2x faster); reads skip the locking catch-up when nothing is due
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 13:07:09 +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 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 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 12586f853d feat: every building tells what it does at its level and the next one
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 14:32:19 +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 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 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 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 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 301f718639 feat: data model, event engine and village actions with feature tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:17:34 +01:00