1

If a pawn has just moved two squares ahead, one records the square right behind it in the part of FEN for recording en passant possibility, regardless of whether there is a pawn of the opposite color ready to make the capture.

For example, the FEN for the position after 1. e4 is:

rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1

My question

Why is this done? It sounds superfluous, since an en passant capture can be made only on the very next move of the opponent's, so recording it as such when there is no pawn in position to make the capture seems unnecessary.

Is there some historical or technical reason for this?

  • 4
    It's easier, just always put it there after a double pawn move, no need to check anything. – RemcoGerlich Mar 9 '18 at 14:15
  • @RemcoGerlich So it's just for simplicity's sake? Thanks, make that an answer (if you don't mind) so I can accept it! :) – Harry Weasley Mar 9 '18 at 14:30
2

Easier for everybody. No need to check enpassant possibility.

  • 1
    Thank you! It's a trivial question, but I was intrigued by it! – Harry Weasley Mar 13 '18 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.