-
Notifications
You must be signed in to change notification settings - Fork 0
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
Chess castling #18
Comments
The available positions are not changed: |
The current castling move: Piece name BlackRook2 Does not calculate correct removed positions. (see above list) |
For further work see issue Deferred action |
We need a method to perform chess castling
When all position to the left or right of the King then the king and the rook can exchange places.
A suggested procedure:
The moved piece is checked for castling.
If that is the case then the method returns which castle is involved
31.03.21:
For further work see issue Deferred action
12.05.21:
Castling works for the white players.
The text was updated successfully, but these errors were encountered: