feat: en passant generally implemented

This commit is contained in:
A.M. Rowsell 2026-09-22 01:58:46 -04:00
commit 10a4dcb60b
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
4 changed files with 53 additions and 12 deletions

View file

@ -228,7 +228,6 @@ class Pawn : public Piece {
virtual std::vector<Move> getLegalMoves(const Square &from, Board &board) const override;
void promote(const Square &promotionSquare, Board &board, PieceType promoteTo);
protected:
bool vulnEnPassant = false;
bool firstMove = true;
};
#endif // PIECE_HPP