Commit graph

6 commits

Author SHA1 Message Date
fa1c6b452e [board] Remove BoardSide enum; use Castle everywhere
Move Castle to a castle module inside the move module.
Implement into_index() on Castle to turn it into a usize.
2024-01-21 10:38:50 -08:00
918b68f300 [board] Use Castle as the interface type for methods related to castling
Use BoardSide as an internal type for looking up generated bitboards, target squares, etc.
2024-01-21 09:05:42 -08:00
c413db0bf1 [board] Clean up Display and Debug implementations on BitBoard, Flags, Position, and PlacedPiece 2024-01-19 18:09:05 -08:00
e56d256812 [board] Fix two build errors 2024-01-14 10:26:36 -08:00
284b3b68a0 [board] Add another test to the position flags 2024-01-14 10:19:20 -08:00
953c2f1522 [board] Move position flags to a Flags struct in its own module 2024-01-13 11:15:09 -08:00