Adds undo feature

This commit is contained in:
markmental 2026-03-26 20:42:49 -04:00
commit 2600a40280
2 changed files with 105 additions and 2 deletions

View file

@ -9,6 +9,7 @@ This branch keeps the implementation within a Python-1.5.2-friendly subset and f
- FreeCell rules with 8 tableau columns, 4 free cells, and 4 foundations
- keyboard-driven curses interface
- visual stack selection mode
- single-step undo for completed moves
- lightweight `?` hint system
- ASCII-only suit tags for old terminals and fonts
- compatibility fallbacks for weak or incomplete curses implementations
@ -19,6 +20,7 @@ This branch keeps the implementation within a Python-1.5.2-friendly subset and f
- `v` - enter or exit tableau selection mode
- `y` - pick up selected card or stack
- `p` - drop held card or stack
- `u` - undo the last completed move
- `Enter` / `Space` - alternate pick up / drop
- `?` - show a suggested move
- `f` - quick move selected card to a free cell