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

cannot parse "[-]" in Crazyhouse FEN #163

Closed
ilaripih opened this issue Oct 2, 2016 · 2 comments
Closed

cannot parse "[-]" in Crazyhouse FEN #163

ilaripih opened this issue Oct 2, 2016 · 2 comments

Comments

@ilaripih
Copy link
Member

ilaripih commented Oct 2, 2016

Chess::Board::setFenString fails when it's given a Crazyhouse FEN like this:
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[-] w KQkq -

The [-] means that there are no hand pieces.

@ilaripih ilaripih added this to the cutechess-gui 1.0 milestone Oct 2, 2016
@mcostalba
Copy link

Incredible!

Why [-] and not simply [] ?

Crazyhouse....crazy protocol :-)

@ilaripih
Copy link
Member Author

ilaripih commented Oct 2, 2016

I'd prefer to drop the brackets completely if there are no hand pieces. But whoever made the first PGN implementation of Crazyhouse got to define the de facto standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants