72dabfe73f
[board] A couple small changes to support the explorer crate
...
- DiagramFormatter::new
- Make board::position public
2023-12-28 15:11:57 -07:00
5039d657ae
[board] Some test helpers that produce Squares from algebraic notiation and assert their validity
2023-12-28 12:08:44 -07:00
dda4cd8a5a
[board] Add a MoveGenerator struct
2023-12-27 10:02:37 -07:00
ff59799add
[board] Move neighbor::Direction → square::Direction
2023-12-27 08:01:44 -07:00
8d06cbf0f8
[board] Make the piece module public and remove the crate-level export of Color and Piece
2023-12-26 21:36:38 -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
9bcd0b2148
[board] Add neighbor and piece modules
...
Add a Direction enum in the neighbor module
Add Color and PieceShape enums, and a Piece struct to the piece module
2023-12-23 09:18:07 -07:00
d776bd18e2
[board] Move bitboard lib to "board"
2023-12-20 11:45:55 -08:00