No description
Find a file
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
board [board] Implement some castling checks on Move 2024-01-10 13:37:18 -08:00
explorer [explorer] A REPL-style command line app to fiddle with chess boards 2023-12-28 15:09:15 -07:00
.gitignore Ignore the target/ directory 2023-12-19 11:13:41 -08:00
Notes.md [board] Add some notes about board geometry 2024-01-06 17:02:07 -08:00