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

Allows castling even after king has moved #22

Open
dipamsen opened this issue Dec 10, 2024 · 0 comments
Open

Allows castling even after king has moved #22

dipamsen opened this issue Dec 10, 2024 · 0 comments

Comments

@dipamsen
Copy link
Contributor

Describe the bug
The game allows castling even after the king has moved.

To Reproduce
Steps to reproduce the behavior:

  1. After castling, try to play the king. (King's original position where it starts at the start of the game should not be attacked). It will suggest a castling move which can be played, moving the king where it started.

Expected behavior
It should not allow to play such a move.
Screenshots
Screenshot 2024-12-11 022259
Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: 131.0.6778.109
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

No branches or pull requests

1 participant