Skip to content

core: add turn-local undo + canUndoActivePlay()#80

Merged
nodots merged 1 commit into
mainfrom
feature/undo-stack-core
Nov 14, 2025
Merged

core: add turn-local undo + canUndoActivePlay()#80
nodots merged 1 commit into
mainfrom
feature/undo-stack-core

Conversation

@nodots

@nodots nodots commented Nov 14, 2025

Copy link
Copy Markdown
Owner
  • Push pre-move snapshots in Game.move and executeAndRecalculate\n- Initialize activePlay.undo on roll→moving (post-construction)\n- Add Game.undoLastInActivePlay and Game.canUndoActivePlay\n- Gate switchDice to require empty undo stack and all moves undone\n\nCross-repo change related to nodots-backgammon#217

@nodots
nodots merged commit 95db9d4 into main Nov 14, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant