chessfriend/board/src/lib.rs
Eryn Wells 0d8653894a An attempt at making unit structs for Color and piece Shape
My idea was to implement traits on Piece that return sight lines, etc. This has
turned out to be much more complex than I thought it would be. Ultimately, I
don't think it's worth the effort.
2024-01-14 10:23:35 -08:00

15 lines
280 B
Rust

// Eryn Wells <eryn@erynwells.me>
mod bitboard;
//mod moves;
#[macro_use]
pub mod piece;
#[macro_use]
pub mod position;
mod square;
pub(crate) use bitboard::BitBoard;
//pub use moves::Move;
pub use piece::Color;
pub use position::Position;
pub use square::{File, Rank, Square};