Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev - update only source and destination square #2

Merged
merged 10 commits into from
Feb 26, 2024
Merged

Conversation

HarshilPatel007
Copy link
Owner

Features

  • move pieces
  • highlight legal moves
  • update only source and destination square with special cases such as, castling & en-passant including chess960 variant.

- add ability to move pieces on the chessboard
- add pawn promotion
- highlight legal moves of selected piece

fix(delete captured piece): DONE
- set is_piece_moved to False after move
- delete opponent's piece from the scene at the destination square
- remove the  need of is_chessboard_flipped parameter from ChessPieces class
- add castling case
- only remove piece image at destination square if it is capture
- new way of getting square coordinates of a given piece name and color
docs(update README.md): DONE
- delete rooks at old location (only works in normal chess variant)
- deleting & drawing pieces at source & destination square is working now with chess960 variant
@HarshilPatel007 HarshilPatel007 merged commit 34cc561 into main Feb 26, 2024
0 of 2 checks passed
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.

1 participant