appu226 / SpaceChessEngine

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

Remove enpassant capturable pawn piece type #20

Closed arjunradhakrishna closed 3 years ago

arjunradhakrishna commented 3 years ago

This PR removes the PieceType::EnPassantCapturablePawn and instead stores the en passant square in the board itself. This avoids issues with having to match or check for both pawns or en passant capturable pawns everywhere.