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

Fair-Stockfish 14 in WinBoard: Illegal move "O-O" (rejected by first chess program) #715

Open
numlockkey opened this issue Sep 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@numlockkey
Copy link

numlockkey commented Sep 9, 2023

In Winboard pick New Variant ... CRC

Psste this position: br2q1kr1n/ppp3pppp/4pp3c/1n1p6/1Q3P4/1P1P4P1/PBP1P1PPCb/1RNB2KR1N b HBhb - 1 1

Set Fairy-Stockfish 14 to play White.

Try to castle manually by first clicking the King, and then the Rook.

I get this error:

Illegal move "O-O" (rejected by first chess program)

The same move tested in Cute Chess works fine.

@ianfab ianfab added the bug Something isn't working label Sep 9, 2023
@ianfab
Copy link
Member

ianfab commented Sep 9, 2023

Yes, Fairy-SF currently only understands the normal castling notation in the CECP/xboard protocol, not the FRC notation. The CECP documentation states that

Castlings are indicated as the King move, e.g. e1g1 or e8c8, except for Fischer castling, which is O-O or O-O-O (oh, not zero!).

In UCI that all works fine, therefore other GUIs have no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants