-
Notifications
You must be signed in to change notification settings - Fork 839
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
[Enhancement]: #2884
Comments
Hey @tejaschaudhari131 ! |
/assign |
Hey @tejaschaudhari131 👋! @kunjgit here, |
Hey @tejaschaudhari131 👋! @kunjgit here, |
Hello @tejaschaudhari131, Time's up!⏰ |
Hey @tejaschaudhari131 ! Thank you so much for your raising the issue💗 |
Is your enhancement request related to a problem? Please describe.➕
game enhancement
Describe the solution you'd like
Check and Checkmate Detection: Implement logic to detect when a king is in check or checkmate. This would involve checking if the king is under attack and if there are no legal moves that would remove the check.
Castling: Add support for castling, a special chess move involving the king and a rook. This move can be a bit complex to implement due to the specific rules surrounding it.
En Passant: Implement the en passant rule, which allows a pawn to capture an opponent's pawn if it advances two squares from its starting position and lands beside an opposing pawn.
Promotion: Handle pawn promotion, where a pawn reaches the opposite end of the board and can be promoted to a more powerful piece (queen, rook, bishop, or knight).
Undo Move: Implement an undo move functionality that allows players to revert their moves one step at a time. This can be particularly useful for debugging and analyzing strategies
Select program in which you are contributing
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: