aboutsummaryrefslogtreecommitdiffstats
path: root/python/MCTS.py
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2021-04-28 17:24:29 -0500
committerMatt Strapp <strap012@umn.edu>2021-04-28 17:24:29 -0500
commitb858cc58f042e1c1d994d1c3adceb804e2d7d0f4 (patch)
treec83ed8fb3d655c75e6be92ee0d73ce5ad922e8c6 /python/MCTS.py
parentRevert "Uncomment thing essential for choosing legal moves" (diff)
downloadcsci4511w-b858cc58f042e1c1d994d1c3adceb804e2d7d0f4.tar
csci4511w-b858cc58f042e1c1d994d1c3adceb804e2d7d0f4.tar.gz
csci4511w-b858cc58f042e1c1d994d1c3adceb804e2d7d0f4.tar.bz2
csci4511w-b858cc58f042e1c1d994d1c3adceb804e2d7d0f4.tar.lz
csci4511w-b858cc58f042e1c1d994d1c3adceb804e2d7d0f4.tar.xz
csci4511w-b858cc58f042e1c1d994d1c3adceb804e2d7d0f4.tar.zst
csci4511w-b858cc58f042e1c1d994d1c3adceb804e2d7d0f4.zip
Revert "Double time"
This reverts commit 0002595c67d63a85f30038f6723cc6ce2986b65b.
Diffstat (limited to 'python/MCTS.py')
-rw-r--r--python/MCTS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/MCTS.py b/python/MCTS.py
index 89f65a4..677d994 100644
--- a/python/MCTS.py
+++ b/python/MCTS.py
@@ -129,7 +129,7 @@ class MCTSGameController(GameController):
node.score += node.get_score(result)
node = node.parent
- def get_next_move(self, state, time_allowed=2.0):
+ def get_next_move(self, state, time_allowed=1.0):
super(MCTSGameController, self).get_next_move(state)
self.root_node = MCTSNode(state)