Closed pdil closed 2 months ago
A condition needs to be added to Board.canCastle() to prevent castling moves when the king is in check.
Board.canCastle()
A condition needs to be added to
Board.canCastle()
to prevent castling moves when the king is in check.