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

Include " w - -" and " b - -" in FEN notations #17

Closed
Elucidation opened this issue Mar 19, 2016 · 1 comment
Closed

Include " w - -" and " b - -" in FEN notations #17

Elucidation opened this issue Mar 19, 2016 · 1 comment
Assignees

Comments

@Elucidation
Copy link
Owner

https://www.reddit.com/r/chess/comments/4b3h8s/that_felt_good/d15u5cySuggestion: one annoyance with these postings is that some chess interfaces reject the FEN because it does not include the color to move, castling, and en passant portions.
I suggest that the post include two copies of the FEN, one with " w - -" appended, and one with " b - -" appended. That will at least let the user pick one that has the right side to move and will be accepted by their GUI. They might still need to tweak it them for castling and en passant, but at least they can do that in their GUI once the basic position is entered.
You might even guess at the castling. Assume that if the king is on the original square castling is still allowed with any rook on its original square. Games where a king or rook move and then return to their original square are rare enough that this will be right most of the time. (Related issue #10)
That would match the convention generally followed in chess puzzles, which is that unless otherwise stated assume that kings and rooks on their original squares have not moved.

@Elucidation
Copy link
Owner Author

Two copies of FEN, analysis and editor are shown for black and white, as well as for both board orientations. Closing issue, revisit with better solution in #10 to resolve castling.

Updated response format:


White to play : Analysis | Editor

  • 8/ppp1nppk/2q4p/2b1R3/4P3/2P3P1/PPQ2PB1/6K1 w - -

Black to play : Analysis | Editor

  • 8/ppp1nppk/2q4p/2b1R3/4P3/2P3P1/PPQ2PB1/6K1 b - -

▼ Links for when pieces are inverted on the board:

White to play : Analysis | Editor

6K1/PPQ2PB1/2P3P1/4P3/2b1R3/2q4p/ppp1nppk/8 w - -

Black to play : Analysis | Editor

6K1/PPQ2PB1/2P3P1/4P3/2b1R3/2q4p/ppp1nppk/8 b - -

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

1 participant