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

Incorrect FEN generated: #83

Open
xd009642 opened this issue Aug 8, 2023 · 1 comment
Open

Incorrect FEN generated: #83

xd009642 opened this issue Aug 8, 2023 · 1 comment

Comments

@xd009642
Copy link

xd009642 commented Aug 8, 2023

For the game sequence:

  1. d4 f6
  2. d5 e5

The Board::to_string() implementation generates the following FEN string: "rnbqkbnr/pppp2pp/5p2/3Pp3/8/8/PPP1PPPP/RNBQKBNR w KQkq e5 0 1".

This is incorrect, the en-passant square should be e6.

@mariogeiger
Copy link

I realized the same issue

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