Chessistics/Scripts/Automation
Samuel Bouchet 1522b70398 Add drag & drop to relocate placed pieces
InputMapper tracks a mouse-down over a placed piece and promotes it to
drag mode once the cursor travels past an 8px threshold. Legal drop
cells (those where the piece's start→end vector still fits a legal
placement) are highlighted in green. Releasing on a legal cell emits a
RelocateRequested signal; Main feeds it to MovePieceCommand, which is
already undoable via the existing history stack.

Escape or releasing on an invalid cell cancels. The harness gains a
relocate() helper so UI tests can script drag-and-drop moves without
synthesizing motion events.
2026-04-17 22:18:50 +02:00
..
AutomationFacade.cs Add Undo (Ctrl+Z) backed by the WorldSave checkpoint mechanism 2026-04-17 22:14:06 +02:00
AutomationHarness.cs Add file-IPC automation harness for autonomous game testing 2026-04-16 22:34:56 +02:00
CommandDispatcher.cs Add drag & drop to relocate placed pieces 2026-04-17 22:18:50 +02:00
IpcFiles.cs Add file-IPC automation harness for autonomous game testing 2026-04-16 22:34:56 +02:00
SnapshotSerializer.cs Add file-IPC automation harness for autonomous game testing 2026-04-16 22:34:56 +02:00