summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-19Regroup (at Lord Rout check)Tor Andersson
2024-04-19Change Battle Sequence to match rulebook.Tor Andersson
Also lots of simplifications by removing unused Nevsky specific features.
2024-04-19Keep fled lords in both fled and routed sets.Tor Andersson
2024-04-19Some minor battle cleanups.Tor Andersson
2024-04-19Fix goto_battle_spoils to not access the zeroed game.battle.array.Tor Andersson
2024-04-19Fix "valour" action.Tor Andersson
2024-04-19Final Charge (v1 -- delay retinue hit).Tor Andersson
2024-04-18Fix card typo.Tor Andersson
2024-04-18Fix Bloody thou art before Death Check events.Tor Andersson
2024-04-18Move common Tax code to shared function.Tor Andersson
2024-04-18Fix Parley search according to rules (only across sea from Exile).Tor Andersson
2024-04-18Remove redundant game.state === "parley" checks.Tor Andersson
2024-04-18RULEBOOK: Add errata about Parley across sea from Exile box only.Tor Andersson
2024-04-18Cannot have more than 15 assets.Tor Andersson
2024-04-18Fix Great Ships connecting all seas for Disembark (it shouldn't).Tor Andersson
2024-04-18Rework Hay Wain and Great Ship asset doubling.Tor Andersson
Improve and use new helper functions to count assets.
2024-04-18Remove useless function.Tor Andersson
2024-04-18Rework naval blockade to use multiple separate states instead of shared.Tor Andersson
TODO: proper search for blockade of parley during levy action
2024-04-18Remove unused flags.Tor Andersson
2024-04-18Group "This Levy" flags into its own object.Tor Andersson
And only have the object during Levy.
2024-04-18Fix silly mistake.Tor Andersson
2024-04-18Update play.js for to make view.battle optional.Tor Andersson
2024-04-18Improve checks for Suspicion.Tor Andersson
2024-04-18Warden of the Marches: Forbid escaping to friendly locale with enemy lords.Tor Andersson
2024-04-18Remove warden_of_the_marches flag.Tor Andersson
2024-04-18Fix battle capability troops.Tor Andersson
2024-04-18Rework Escape Ship / Talbot / Warden of the Marches.Tor Andersson
Select _any_ lords, not _all_ lords, for each of these events. Allow mixing and matching.
2024-04-18Fix prompt_influence_check to not generate a locale action.Tor Andersson
2024-04-18Remove has_unbesieged_enemy_lord (same as has_enemy_lord).Tor Andersson
2024-04-18Clean up setting/resetting game.where.Tor Andersson
2024-04-18Some typescript lint stuff.Tor Andersson
2024-04-18Fix type signature for map_for_each.Tor Andersson
2024-04-18Fix "Earl Rivers".Tor Andersson
2024-04-18Fix "Flank Attack".Tor Andersson
Simplify prompts. Swap attacker if event is in play.
2024-04-18Use temporary properties for specific phases/actions/events.Tor Andersson
2024-04-18Separate held event functions into separate functions for each timing.Tor Andersson
2024-04-18Add typescript configuration to eslint and package.jsonTor Andersson
To setup environment: npm install To develop, run this in a separate terminal: npm run dev
2024-04-17Start fixing suspicion.Tor Andersson
TODO: account for actual influence capabilities when determining if it can be played.
2024-04-17Fix find_ports during parley.Tor Andersson
2024-04-17More typescript and more bug fixes.Tor Andersson
2024-04-17Remove game.which. Use string only for game.what. Add game.other.Tor Andersson
2024-04-17Typescript types and bug fixes.Tor Andersson
2024-04-17Typescript.Tor Andersson
2024-04-17Add implementation notes.Tor Andersson
2024-04-17Fix tax fix more fix.Tor Andersson
2024-04-17Fix tax fix.Tor Andersson
2024-04-17Don't change state in prompt in Welsh Rebellion.Tor Andersson
Also handle case when lord only has 1 troop.
2024-04-17Fix bad use of game.count in pay_lords.Tor Andersson
2024-04-17Fix count_deplete.Tor Andersson
2024-04-17Fix bugs in Tax.Tor Andersson