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

FEN includes ep square when en passant is not a legal move. #91

Open
JSLigon opened this issue Jan 31, 2023 · 0 comments
Open

FEN includes ep square when en passant is not a legal move. #91

JSLigon opened this issue Jan 31, 2023 · 0 comments

Comments

@JSLigon
Copy link

JSLigon commented Jan 31, 2023

After the following moves, the en passant capture is not a legal move because it would put black's king in check, but the "Copy FEN" command gives the ep square as f3. Compare with the FEN for this position on lichess which correctly (in my opinion) gives no en passant square.

  1. e4 e5 2. Nf3 Nc6 3. Bb5 f5 4. Nc3 fxe4 5. Nxe4 d5 6. Nxe5 dxe4 7. Nxc6 Qg5 8. Qe2 Nf6 9. Nxa7+ Bd7 10. Bxd7+ Nxd7 11. f4
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