[board] Implement a u16 based Move

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.
This commit is contained in:
Eryn Wells 2024-01-16 18:03:27 -08:00
parent 96b04379a4
commit 177a4e32da
5 changed files with 398 additions and 213 deletions

View file

@ -3,6 +3,7 @@
mod diagram_formatter;
mod flags;
mod pieces;
#[macro_use]
mod position;
pub use diagram_formatter::DiagramFormatter;