Commit graph

4 commits

Author SHA1 Message Date
61448d437f [board] Implement a BitBoard::rank constructor
Also implement BitBoard::shift_north() to support rank().
2023-12-27 10:04:02 -07:00
51a265172b [board] Implement an infix_op! macro for generating BitBoard operator traits 2023-12-27 10:00:30 -07:00
9d0761f8c6 [board] Rename from_algebraic_string → from_algebraic_str 2023-12-26 13:28:25 -07:00
758a3d95fc [board] Reorganize bitboard and position modules and export some symbols from the crate
Move position.rs to the position module and create a mod.rs.
Do the same for bitboard.rs in the bitboard modules.
Export Color, Piece, Position, and Square and use crate::Thing directly instead of referring to the symbol in the nested modules.
2023-12-26 11:25:27 -07:00
Renamed from board/src/bitboard.rs (Browse further)