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

Enhancement request: Chess960 castling rules #39

Open
LeviBarnes opened this issue Jan 8, 2023 · 4 comments
Open

Enhancement request: Chess960 castling rules #39

LeviBarnes opened this issue Jan 8, 2023 · 4 comments

Comments

@LeviBarnes
Copy link

I had hoped to use Tarrasch to analyze some Chess960 games. Because the start position is not standard, the header includes a FEN for the initial position. Like this:

[Event "Chess.com 960 friendly"]
[Site "Chess.com iPhone"]
[Date "2022.12.31"]
[Round "?"]
[White "dyado72"]
[Black "fizixgeek"]
[Result "1-0"]
[FEN "qrnknbbr/pppppppp/8/8/8/8/PPPPPPPP/QRNKNBBR w HBhb - 0 1"]
[WhiteElo "920"]
[BlackElo "1457"]

When I load in Tarrasch, it shows the standard opening position and can only play a few moves before reaching an illegal move and getting stuck.

This feature request is for support for FEN in .pgn headers.

@billforsternz
Copy link
Owner

billforsternz commented Jan 8, 2023 via email

@LeviBarnes
Copy link
Author

No need to be sorry. Great software!

Maybe my header is wrong, but when I load the attached file, and play through either of the last 2 games (the Chess960 games), the board starts in standard position and I can only play until a move that's illegal without the alternate starting position. Is the .pgn wrong?

Full disclosure, I haven't tried building from the source code yet. Running V3.13b-Windows.

Also, do you know whether the engines support the Chess960 castling rules?

fizixgeek.zip

@LeviBarnes
Copy link
Author

Ach. Wait! It's the castling status in the FEN. Changed to KQkq and the board looks good.

Oh, and it looks like Stockfish, at least, castles correctly in Chess960.

official-stockfish/Stockfish#2405

@LeviBarnes LeviBarnes changed the title Read .pgn with starting FEN Enhancement request: Chess960 castling rules Jan 9, 2023
@billforsternz
Copy link
Owner

billforsternz commented Jan 9, 2023 via email

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