appu226 / SpaceChessEngine

C++ chess project for fun and learning
Apache License 2.0
0 stars 2 forks source link

Fixed en passant pawn checks and en passant square FEN parsing #16

Closed arjunradhakrishna closed 3 years ago

arjunradhakrishna commented 3 years ago

This PR fixes two bugs:

  1. Parsing en passant squares from FEN was broken.
  2. Checks by pawns that are en passant capturable were not detected.