Compare commits
No commits in common. "a2711f341fdba0fcbab4d0621da3b6d108fef74a" and "854772a63dd28c642b74997bc99929833aed384a" have entirely different histories.
a2711f341f
...
854772a63d
@ -19,5 +19,5 @@ thiserror = "~2.0"
|
|||||||
divan = "0.1.21"
|
divan = "0.1.21"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "e2e"
|
name = "example"
|
||||||
harness = false
|
harness = false
|
||||||
|
@ -189,3 +189,4 @@ impl GameState for TicTacToe {
|
|||||||
&self.current_player
|
&self.current_player
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -40,6 +40,7 @@ fn main() {
|
|||||||
// Find the best move
|
// Find the best move
|
||||||
match mcts.search() {
|
match mcts.search() {
|
||||||
Ok(action) => {
|
Ok(action) => {
|
||||||
|
mcts.print_tree();
|
||||||
println!(
|
println!(
|
||||||
"AI chooses: {} (row {}, col {})",
|
"AI chooses: {} (row {}, col {})",
|
||||||
action.index,
|
action.index,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user