Refactor based on clippy, move tt to search module and call iterative deepening from uci_go
This commit is contained in:
@@ -166,7 +166,9 @@ impl Game {
|
||||
board.state.halfmove_clock = new_halfmove_clock;
|
||||
}
|
||||
|
||||
let mv = move_parameters.mv.unwrap();
|
||||
let mv = move_parameters
|
||||
.mv
|
||||
.expect("Expected move parameters from history stack");
|
||||
let piece_at_dst = mailbox.piece_at(mv.dst).expect("Expected set piece");
|
||||
match &mv.move_type {
|
||||
MoveType::Quiet | MoveType::DoublePush => {
|
||||
|
||||
Reference in New Issue
Block a user