Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 04a55f0a56 | |||
| a2711f341f | |||
| 48c93fa197 |
+3
-1
@@ -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
|
||||
|
||||
@@ -189,4 +189,3 @@ impl GameState for TicTacToe {
|
||||
&self.current_player
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user