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

Is it possible to tolerate Chess 960 format castling moves in UCI? #15

Closed
rooklift opened this issue Jan 2, 2021 · 1 comment
Closed

Comments

@rooklift
Copy link

rooklift commented Jan 2, 2021

I've not built Ceres but I hear reports that castling causes problems for Nibbler.

Nibbler currently always runs in Chess 960 mode and so (for normal chess) sends castling moves as one of:

  • e1h1
  • e1a1
  • e8h8
  • e8a8

Would it be possible / easy to accept these as valid castling moves? Basically, check if the relevant king is present on the source square, then treat it as if e1g1 or whatever had come...

@dje-dev dje-dev closed this as completed in 19cebb0 Jan 3, 2021
@dje-dev
Copy link
Owner

dje-dev commented Jan 3, 2021

Test UCI commands now seem supported.

position fen r3k2r/8/8/8/8/8/8/R3K2R w KQkq - 4 1 moves e1h1
position fen r3k2r/8/8/8/8/8/8/R3K2R w KQkq - 4 1 moves e1a1
position fen r3k2r/8/8/8/8/8/8/R3K2R b KQkq - 4 1 moves e8h8
position fen r3k2r/8/8/8/8/8/8/R3K2R b KQkq - 4 1 moves e8a8

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

2 participants