Chessistics/chessistics-tests
Samuel Bouchet 97bca7d7df Add Undo (Ctrl+Z) backed by the WorldSave checkpoint mechanism
GameSim snapshots the state before each undoable command
(PlacePiece / RemovePiece / MovePiece) into a bounded LinkedList stack
(max 32). Undo() pops the last checkpoint and emits StateRestoredEvent,
reusing the presentation rebuild path already wired for QuickLoad.

Ctrl+Z in Main triggers the engine method; the harness exposes undo()
for tests. QuickLoad clears the stack (fresh timeline). Seven unit tests
cover empty stack, place/remove/move undo, reverse-order multiple undos,
rejected commands not checkpointing, and post-simulation rewind.
2026-04-17 22:14:06 +02:00
..
Helpers Snapshot campaign system progress before automation harness 2026-04-16 21:22:49 +02:00
Loading Snapshot campaign system progress before automation harness 2026-04-16 21:22:49 +02:00
Model Snapshot campaign system progress before automation harness 2026-04-16 21:22:49 +02:00
Rules Snapshot campaign system progress before automation harness 2026-04-16 21:22:49 +02:00
Simulation Add Undo (Ctrl+Z) backed by the WorldSave checkpoint mechanism 2026-04-17 22:14:06 +02:00
Chessistics.Tests.csproj Initial commit: Chessistics prototype v0.3 2026-04-10 14:58:03 +02:00