[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:
Eryn Wells 2023-12-26 11:25:27 -07:00
parent d2d33a4915
commit 758a3d95fc
7 changed files with 32 additions and 18 deletions

View file

@ -3,3 +3,7 @@ mod neighbor;
mod piece;
mod position;
mod square;
pub use piece::{Color, Piece};
pub use position::Position;
pub use square::Square;