[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.
This commit is contained in:
parent
d2d33a4915
commit
758a3d95fc
7 changed files with 32 additions and 18 deletions
5
board/src/position/mod.rs
Normal file
5
board/src/position/mod.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
mod pieces;
|
||||
mod position;
|
||||
|
||||
pub use pieces::Pieces;
|
||||
pub use position::Position;
|
Loading…
Add table
Add a link
Reference in a new issue