Skip to content

Copilot/implement drag and drop#64

Merged
fsmosca merged 2 commits intomasterfrom
copilot/implement-drag-and-drop
Mar 29, 2026
Merged

Copilot/implement drag and drop#64
fsmosca merged 2 commits intomasterfrom
copilot/implement-drag-and-drop

Conversation

@fsmosca
Copy link
Copy Markdown
Owner

@fsmosca fsmosca commented Mar 29, 2026

No description provided.

Copilot AI and others added 2 commits March 29, 2026 02:07
Add drag-and-drop support alongside the existing two-click piece
movement. Uses tkinter ButtonPress/ButtonRelease bindings on each
board square button to detect when a piece is dragged from one
square to another. The target square is determined via
winfo_containing() and the move is injected into the FreeSimpleGUI
event loop via write_event_value(), where the existing move
validation and execution code handles it.

Agent-Logs-Url: https://github.com/fsmosca/Python-Easy-Chess-GUI/sessions/8a412d60-5a44-4b76-91b9-d11bd4e558c2

Co-authored-by: fsmosca <22366935+fsmosca@users.noreply.github.com>
@fsmosca fsmosca merged commit 66a11ab into master Mar 29, 2026
@fsmosca fsmosca deleted the copilot/implement-drag-and-drop branch March 29, 2026 04:04
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.

2 participants