Use TT to store best move after each ID iteration
This commit is contained in:
@@ -61,9 +61,7 @@ mod tests {
|
||||
let time_info = TimeInfo::new(std::time::Instant::now(), 30000);
|
||||
|
||||
negamax(&mut game, MIN_SCORE, MAX_SCORE, 2, 0, &time_info)
|
||||
.expect("Expected a search result")
|
||||
.best_move
|
||||
.expect("Expected a move");
|
||||
.expect("Expected a search result");
|
||||
|
||||
dbg!(time_info.time.elapsed());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user