Compare commits

3 Commits

Author SHA1 Message Date
krugd 04a55f0a56 Add a "threads" feature for mutli-threading 2025-06-30 19:49:45 -07:00
krugd a2711f341f Cleanup debug print 2025-06-29 22:51:17 -07:00
krugd 48c93fa197 Renamed the benchmark file 2025-06-29 22:50:54 -07:00
3 changed files with 3 additions and 3 deletions
+3 -1
View File
@@ -10,6 +10,8 @@ readme = "README.md"
keywords = ["mcts", "rust", "monte_carlo", "tree", "ai", "ml"]
categories = ["algorithms", "data-structures"]
[features]
threads = []
[dependencies]
rand = "~0.9"
@@ -19,5 +21,5 @@ thiserror = "~2.0"
divan = "0.1.21"
[[bench]]
name = "example"
name = "e2e"
harness = false
-1
View File
@@ -189,4 +189,3 @@ impl GameState for TicTacToe {
&self.current_player
}
}
-1
View File
@@ -40,7 +40,6 @@ fn main() {
// Find the best move
match mcts.search() {
Ok(action) => {
mcts.print_tree();
println!(
"AI chooses: {} (row {}, col {})",
action.index,