[explorer, moves, position] Implement a moves command in explorer

The moves command writes all possible moves to the terminal.

Move the previous implementation of the moves command, which marked squares that
a piece could move to, to a 'movement' command.
This commit is contained in:
Eryn Wells 2025-05-28 16:25:55 -07:00
parent 43abbe3fe2
commit 942d9fe47b
4 changed files with 124 additions and 16 deletions

View file

@ -11,4 +11,5 @@ mod macros;
mod testing;
pub use chessfriend_board::{fen, PlacePieceError, PlacePieceStrategy};
pub use chessfriend_moves::GeneratedMove;
pub use position::{Position, ValidateMove};