summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/strategy/minimax.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/strategy/minimax.rs b/src/strategy/minimax.rs
index 699a4f6..f87d850 100644
--- a/src/strategy/minimax.rs
+++ b/src/strategy/minimax.rs
@@ -40,14 +40,14 @@ pub fn choose_move(
}
//eprintln!("Number of simulations: {}", root_node.score_sum.visit_count);
- for (command, score_sum) in &root_node.player_score_sums[0] {
- eprintln!(
- "{} = {} ({} visits)",
- command,
- score_sum.avg().val,
- score_sum.visit_count
- );
- }
+ // for (command, score_sum) in &root_node.player_score_sums[0] {
+ // eprintln!(
+ // "{} = {} ({} visits)",
+ // command,
+ // score_sum.avg().val,
+ // score_sum.visit_count
+ // );
+ // }
let chosen_command = best_player_move(&root_node);