Commit Graph

99 Commits

Author SHA1 Message Date
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 b94788aa92 docs: roadmap: M4.6 game loop (garrisons, raiders, scarce space, seasons)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 16:02:49 +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 a3b16bfe9b docs: roadmap: conquest and the village switcher are live
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 10:33:54 +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 f6c77163aa docs: conquest with coins, noblemen and loyalty
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 10:28:20 +01:00
Fabian @ Blax Software 222cd2e797 feat: quest hints name the client screen to open
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 10:08:23 +01:00
Fabian @ Blax Software 17c448ca0c chore: the WS end-to-end check reads the quest book and collects level rewards
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 10:06:50 +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 b7b209692d docs: quest book and level rewards
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 68f901e3d9 chore: e2e scripts are executable
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 02:05:35 +01:00
Fabian @ Blax Software b824d4fc70 docs: WS auth per message, and how to test beyond SQLite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 02:04:51 +01:00
Fabian @ Blax Software 987a91fc81 chore: WS end-to-end check as a repo script
Runs on edgerealm in a throwaway container with its own SQLite world,
so production data is untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 02:04:50 +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 fc7e7e1b23 docs: M4 done; Tribal Wars essentials and the rest of Die Stämme on the roadmap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:16:44 +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 6a1486b9de feat: combat, travel and loot rules: TravelTime, CombatResolver, LootCalculator, watchtower and hiding place values
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 5e30846ea6 docs: M3 done: recruit, troops, levy and food warnings in the client
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:06:16 +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
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 0aa8a3abfc feat: basic buildings have no requirements; build options list what is missing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:58:35 +01:00
Fabian @ Blax Software 4fa6b46f62 docs: every change goes live right away
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:30:52 +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 e63de92e5b docs: map UI shipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:01:02 +01:00
Fabian @ Blax Software 111ce3d608 docs: building space, diorama and map in architecture and roadmap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:45:03 +01:00
Fabian @ Blax Software e8c4382d78 feat: map.view and barbarian villages seeded per world
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:45:03 +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 bfefff1796 docs: M1 done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:27:46 +01:00
Fabian @ Blax Software 11dfca59b1 fix: remember a socket's user after token auth
The package resolves the per-message authtoken for that message only.
Recording socket_<id> and the authed-user map lets the server authenticate
later messages itself and the game:events worker find sockets to push to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:24:09 +01:00
Fabian @ Blax Software 1cf6beab3d fix: deploy caches config, routes and events instead of optimize
The API has no views, so view:cache failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:19:02 +01:00
Fabian @ Blax Software 0df473aa73 chore: ignore local SQLite files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:17:40 +01:00
Fabian @ Blax Software d6abaaf887 docs: Windows test setup, deploy, actual PHP version and repo name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:17:35 +01:00
Fabian @ Blax Software a744631726 chore: docker compose and deploy to edgerealm, learn-atc style
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:17:35 +01:00
Fabian @ Blax Software a40e7e549f feat: HTTP login/register and the world/village WS controllers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:17:34 +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
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
Fabian @ Blax Software a1db22a971 chore: Laravel 13 scaffold with Sanctum, Pest and laravel-websockets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:17:33 +01:00
Fabian @ Blax Software 349cd8a2ae docs: track work on Taiga board village-politics
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 14:55:30 +01:00
Fabian @ Blax Software db59396e6a docs: architecture, roadmap and agent guide
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 14:54:09 +01:00