chessfriend/board
Eryn Wells 0bc7e8d542 [board] Implement some castling checks on Move
Define some constants in Square that refer to the starting positions of the two
kings, and the target castling squares. Then implement the following methods that
use those constants to determine if a move is a castle.

- Move::is_kingside_castle()
- Move::is_queenside_castle()
- Move::is_castle()

These checks only apply to King moves, and if the king is moving from and to
specific squares.
2024-01-10 13:37:18 -08:00
..
src [board] Implement some castling checks on Move 2024-01-10 13:37:18 -08:00
Cargo.lock [board] Move bitboard lib to "board" 2023-12-20 11:45:55 -08:00
Cargo.toml [board] Move bitboard lib to "board" 2023-12-20 11:45:55 -08:00