Replace building a Move with the Move struct itself with a MoveBuilder that builds a Move and returns it. Update the tests and move formatter.
13 lines
243 B
Rust
13 lines
243 B
Rust
// Eryn Wells <eryn@erynwells.me>
|
|
|
|
mod diagram_formatter;
|
|
mod flags;
|
|
mod pieces;
|
|
#[macro_use]
|
|
mod position;
|
|
|
|
pub use diagram_formatter::DiagramFormatter;
|
|
pub use pieces::Pieces;
|
|
pub use position::Position;
|
|
|
|
pub(crate) use position::BoardSide;
|