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 Rights on Edited Board #2548

Open
tkeetch opened this issue Jan 18, 2025 · 0 comments
Open

Castling Rights on Edited Board #2548

tkeetch opened this issue Jan 18, 2025 · 0 comments
Labels

Comments

@tkeetch
Copy link

tkeetch commented Jan 18, 2025

What happened?

When starting analysis from an edited board and a position where the king has already moved/castled, the king still has castling rights, even

How can we reproduce the bug?

Edit the board and set up the following position:

r1b2rk1/1p1n1pp1/p2bp2p/q2pN1N1/3P4/2PB2P1/PP2QPP1/2K4R w Kq - 0 1

Then proceed as per the screenshot, following the engine suggested moves until the engine suggests the king castles again the other side.

Image

There seems to be an option to change castling rights, but when the king has already moved of it's starting square, it doesn't seem necessary and illegal moves shouldn't be suggested by the engine.

Expected behavior

Castling not suggested for king in non-starting position.

Device

OnePlus

Operating system

Android

App version

V8.0.0

Screenshots

Image

Additional context

No response

@tkeetch tkeetch added the bug label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant