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

Ambiguity between Gating Files and Kingside Castling Rights in FEN #718

Open
PraseodymiumSpike opened this issue Sep 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@PraseodymiumSpike
Copy link
Contributor

[test:chess] gating = true seirawanGating = true maxFile = 12 startFen = rnbqkbnr4/pppppppp4/12/12/12/12/PPPPPPPP4/RNBQKBNR3R[Q] w KQkqk - 0 1
There is no way to allow White kingside castling privileges without allowing them to gate on k1! Now, I don't know why anyone would want 12-file-wide Seirawan Chess, but it should still be fixed. I suggest just having something like "KQS11111111kqs11111111" in the castling rights section to say which squares are allowed for gating. If there is a 1, it is allowed; otherwise, it is not allowed. This is preceded by an s of the correct capitalization for "Seirawan". The files don't go up to s, so it should be fine.

@PraseodymiumSpike
Copy link
Contributor Author

PraseodymiumSpike commented Sep 10, 2023

Sorry, this is the correct code.

gating = true
seirawanGating = true
maxFile = 12
startFen = rnbqkbnr4/pppppppp4/12/12/12/12/PPPPPPPP4/RNBQKBNR3R[Q] w KQkqk - 0 1

@PraseodymiumSpike

This comment was marked as duplicate.

@ianfab ianfab added the bug Something isn't working label Sep 10, 2023
@ianfab ianfab changed the title Abiguity between Gating Files and Kingside Castling Rights in Code Ambiguity between Gating Files and Kingside Castling Rights in FEN Nov 1, 2023
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