summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Collapse)Author
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
2022-11-17Small fixes to block games.Tor Andersson
2022-11-17Shorten combat log messages.Tor Andersson
Put the full message in the flash and keep an abbreviated message in the game log.
2022-11-17Remove space before attack move asterisk.Tor Andersson
2022-11-17Cancel retreats by clicking the selected block.Tor Andersson
2022-11-17hammer: Allow Wallace to go to Selkirk if in England during winter.Tor Andersson
Disband Scottish blocks in England during the castle limit step.
2022-11-17hammer: Fix bug with border raid disbanding.Tor Andersson
Don't count blocks in the pool!
2022-11-17hammer: Fix typo 'disband_endward'.Tor Andersson
2022-11-17hammer: Kill Scottish King that cannot retreat.Tor Andersson
2022-11-17hammer: Fix Moray and Scottish King wintering.Tor Andersson
Delay disband question until normal disband phase. Allow staying even if over castle limit since you may want to be able to disband another unit to keep Moray or the King). Skip question completely if already at home or home is occupied. Improve UI for Edward wintering -- can click England to disband, and added button for wintering.
2022-11-17hammer: Show how many steps Wallace recovers. Don't ask if he's home.Tor Andersson
2022-11-17hammer: Show asterisk in log when Bruce and Comyn defect when going home.Tor Andersson
2022-11-17hammer: Remove finished TODO items.Tor Andersson