Add log for soft limit reach, tweak values, clippy

This commit is contained in:
stefiosif
2025-01-28 00:21:19 +02:00
parent ccba6451aa
commit 3f08e194f4
3 changed files with 5 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ pub fn iterative_deepening(
for depth in 1..=max_depth {
if time.exceed_soft_limit() {
write_response(&mut io::stdout(), &Response::Info("Soft limit exceeded in negamax".to_string()))?;
return Ok(best_move);
}