Chessistics/Scripts
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
..
Automation Add drag & drop to relocate placed pieces 2026-04-17 22:18:50 +02:00
Board Snapshot campaign system progress before automation harness 2026-04-16 21:22:49 +02:00
Input Add drag & drop to relocate placed pieces 2026-04-17 22:18:50 +02:00
Pieces Phase 5: Dame (Queen) piece and network levels 7-8 2026-04-10 23:24:14 +02:00
Presentation Snapshot campaign system progress before automation harness 2026-04-16 21:22:49 +02:00
UI Add file-IPC automation harness for autonomous game testing 2026-04-16 22:34:56 +02:00
Main.cs Add drag & drop to relocate placed pieces 2026-04-17 22:18:50 +02:00
Main.cs.uid Add technical files 2026-04-10 17:14:09 +02:00