Commit Graph

107 Commits

Author SHA1 Message Date
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 75c3d49b04 docs: population in heads and the food rate at world speed, a level needs idle villagers, the no-locks row and lint, config comments
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 6e022f7d1f feat: one-off migration raises the highest farm of every player village that holds more heads than its farms feed now, to the lowest level that feeds them, with points and a refund for orders queued on it
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 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 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 e1121056c0 docs: barbarian waves on the map, worlds.barbarians_at, their no-locks row and the roadmap line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:35:14 +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 cd1160800f feat: barbarian waves: every few world days new barbarian villages settle near the active players (worlds.barbarians_at, ticked by game:events)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:33:52 +01:00
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 4c8a002718 fix: sum an offer's reserved merchants in PHP, no raw SQL on the count column
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:08:32 +01:00
Fabian @ Blax Software 7303817911 docs: market rules, trade tables, no-locks rows for merchants and routes; market partly done on the roadmap
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:08:32 +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 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 b8d5983a63 feat: market building with Die Stämme's merchants table, market config and the pure trade rules
TradeRules: merchants per level, merchants a shipment needs, travel seconds,
fair offers, route intervals and route cargo scaled to the free merchants.
ConfigLint checks the merchants table, carry, pace, ratio and route bounds.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:08:32 +01:00
Fabian @ Blax Software 5a69ce561e chore: reflow the Raiders class comment
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:07:11 +01:00
Fabian @ Blax Software 09a0160db0 docs: combat volley, loss threshold and ram phases; raids in real hours, fewer rams and camps that stay home
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 11:07:11 +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 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 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 8579e5ee75 docs: one of each building is enough; copies cost double and work at a falling share
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:57:54 +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 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 13c509f919 docs: coins pay for villages, not noblemen; a conquest without a free slot leaves loyalty at 0 (no_coins)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-31 10:53:30 +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 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 9a8ab05437 docs: hospital rules, the wounded table and its no-locks row
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 13:45:02 +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 d0647a8f1e docs: the game is called Kronland; Village Politics stays the code name
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 11:31:33 +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 fdb31123b6 feat: tribe page knows the viewer's member row
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 10:49:48 +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 21ed9de726 docs: roadmap: seasons are live, M4.6 done
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 16:35:15 +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