[core,board] Move board::piece to core

Break up types in core into finer grained modules.
Update all the imports.
This commit is contained in:
Eryn Wells 2024-01-24 17:08:27 -08:00
parent 6f85305912
commit 8b2a3926b3
25 changed files with 235 additions and 227 deletions

View file

@ -1,3 +1,12 @@
mod coordinates;
// Eryn Wells <eryn@erynwells.me>
pub mod colors;
pub mod coordinates;
pub mod errors;
pub mod pieces;
mod macros;
pub use colors::Color;
pub use coordinates::{Direction, File, Rank, Square};
pub use pieces::{Piece, PlacedPiece, Shape};