diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/MCTS.py | 1 | ||||
-rw-r--r-- | python/alphaBeta.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/python/MCTS.py b/python/MCTS.py index cf67f48..677d994 100644 --- a/python/MCTS.py +++ b/python/MCTS.py @@ -132,7 +132,6 @@ class MCTSGameController(GameController): def get_next_move(self, state, time_allowed=1.0): super(MCTSGameController, self).get_next_move(state) - # Create new tree (TODO: Preserve some state for better performance?) self.root_node = MCTSNode(state) iterations = 0 diff --git a/python/alphaBeta.py b/python/alphaBeta.py index 93c8b0b..fb89ab0 100644 --- a/python/alphaBeta.py +++ b/python/alphaBeta.py @@ -47,8 +47,8 @@ class AlphaBeta(object): for x in possiblemoves: if (x[0],x[1],x[2]) not in start.children: start.Make(x[0],x[1],x[2]) - if Ply_num < 2: - return (i, j) + # if Ply_num < 2: + # return (i, j) Minimum_Score = 1000 r = 0 |