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

Castling is not possible. The King get stuck and the rook don't move. #253

Closed
Awazez opened this issue May 7, 2024 · 2 comments
Closed

Comments

@Awazez
Copy link

Awazez commented May 7, 2024

Describe the bug
Castling is impossible. The king get stuck on g1 for the white for example.

Which version are you using
v1.3.3

To Reproduce
Steps to reproduce the behavior:

initialPos = 'rnbqk2r/pppp1ppp/5n2/2b1p3/2B1P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 1';

  1. Go to to the initalposition propose before
  2. Click on the king and try to castling.

Expected behavior
The king should castling correctly.

Screenshots
If applicable, add screenshots to help explain your problem.

Capture d’écran 2024-05-07 à 3 13 37 PM

@PawelGawlikDev
Copy link

Setting autoCastle: true should solve this issue

@qwerty084
Copy link
Owner

Yes autoCastle: true should fix it. Thanks @PawelGawlikDev.
Its removed in #256.
I will close this issue. If autoCastle doesn't work for you, please reopen.

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

3 participants