Move make/unmake and History on Game
This commit is contained in:
@@ -111,7 +111,7 @@ pub fn uci_position(position: &mut SplitWhitespace) -> Result<Game, String> {
|
||||
|
||||
for mv_str in position {
|
||||
let mv = Move::parse_from_str(&game.board, mv_str)?;
|
||||
game.board.make_move(&mv);
|
||||
game.make_move(&mv);
|
||||
}
|
||||
|
||||
Ok(game)
|
||||
|
||||
Reference in New Issue
Block a user