[board] Implement all the bit twiddling to track whether castling is allowed for each player and side of the board

This commit is contained in:
Eryn Wells 2024-01-08 14:41:54 -08:00
parent 8cc7e64ba6
commit 31e5771d30
3 changed files with 100 additions and 7 deletions

View file

@ -1,3 +1,5 @@
// Eryn Wells <eryn@erynwells.me>
mod diagram_formatter;
mod pieces;
mod position;
@ -5,3 +7,5 @@ mod position;
pub use diagram_formatter::DiagramFormatter;
pub use pieces::Pieces;
pub use position::Position;
pub(crate) use position::BoardSide;