summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Collapse)Author
17 hoursAdd dont_snap callback to prevent extra snapshots during card selection.Tor Andersson
2024-08-07Reset border limit display at start of winter.Tor Andersson
2024-02-03Lords who defect from pillage should be attackers.Tor Andersson
2023-12-24Automatic resign menu.Tor Andersson
2023-11-12Show last used border, border limits, and main attack.Tor Andersson
Optimize border state representation (use maps instead of objects).
2023-10-12Make delay hits default behavior.Tor Andersson
Add immediate hits as a (hidden) option.
2023-09-22Treat eliminated in combat and unable to retreat the same.Tor Andersson
Per Grant's latest ruling.
2023-09-08Fix regroup check for Norse block.Tor Andersson
2023-05-24Don't undo after selecting a card.Tor Andersson
2023-03-15King should go to draw pool if eliminated in non-battle situations.Tor Andersson
2023-01-21Make Victuals optional.Tor Andersson
2022-12-14Stop delaying hits when more hits inflicted than steps.Tor Andersson
2022-12-04Remove blocks from reserve list when the battle ends.Tor Andersson
In case a defection battle ends early, if there are blocks still in reserve they would not be able to move properly during the normal turn.
2022-11-17Mark blocks as moved after taking the first step.Tor Andersson
This masks movement of King/Hobelars/Wallace/etc who can move 3 steps.
2022-11-17Print retreat summary when battle ends too!Tor Andersson
2022-11-17Schiltroms optional rule.Tor Andersson
2022-11-17Delayed hit option.Tor Andersson
2022-11-17Tooltip highlight areas in log.Tor Andersson
2022-11-17Optimize representation.Tor Andersson
2022-11-17Update RNG.Tor Andersson
2022-11-17Add autohit option for faster async play.Tor Andersson
TODO: Pause battle screen at end of battle.
2022-11-17Optimize loops.Tor Andersson
2022-11-17Don't use JSON for undo state.Tor Andersson
2022-11-17Zap semicolons.Tor Andersson
2022-11-17Remove exports.ready function.Tor Andersson
2022-11-17Reword when battlefield control changes.Tor Andersson
2022-11-17Clean up grammar: use past tense consistently.Tor Andersson
2022-11-17Check instant victory after Winter Turn.Tor Andersson
2022-11-17Show current scenario in game log.Tor Andersson
2022-11-17Don't allow end_builds and end_pillage before all is done.Tor Andersson
2022-11-17Remove stray logging line that shouldn't have been there.Tor Andersson
2022-11-17Drop table roles.Tor Andersson
2022-11-17Don't highlight Lanark or Badenoch if only Norse/French remain in pool.Tor Andersson
2022-11-17Log hits taken in battle.Tor Andersson
2022-11-17Simplify styles and html for play.htmlTor Andersson
Split into separate module. Update for new server version. Fix log colors... Clean up common play.css file. New battle CSS.
2022-11-17Show card backs when observing the block games.Tor Andersson
2022-11-17Prettier logs with formatting and colors.Tor Andersson
2022-11-17Add options to game setup.Tor Andersson
2022-11-17Clean up replay script.Tor Andersson
2022-11-17Add PRNG seed to game state.Tor Andersson
Log all game actions to a table so they can be replayed.
2022-11-17hammer: Reset last-used border state after defection battle regroups.Tor Andersson
2022-11-17hammer: Fix bug when there are no border raid victims.Tor Andersson
2022-11-17hammer: Eqeqeq.Tor Andersson
2022-11-17Show turn info bar on all block games.Tor Andersson
2022-11-17Improve logging of block retreats.Tor Andersson
Print which block retreats during the round. Print summary of retreat destinations at the end of the round.
2022-11-17hammer: Change prompt when all RP have been used.Tor Andersson
2022-11-17New and improved join page with server sent events.Tor Andersson
2022-11-17hammer: Add missing clear_undo calls.Tor Andersson
2022-11-17hammer: Fix retreat bug with Norse in area.Tor Andersson
2022-11-17hammer: End final winter turn early if possible.Tor Andersson