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.
15 lines
280 B
Rust
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};
|