Clean up the implementation of the place command. Track state with a State struct that contains a position and a builder. The place command will place a new piece and then regenerate the position. The make command makes a move. The syntax is: make [color:w|b] [shape] [from square] [to square] The fen command prints a FEN string representing the position. |
||
---|---|---|
.. | ||
src | ||
Cargo.lock | ||
Cargo.toml |