aboutsummaryrefslogtreecommitdiffstats
path: root/python/alphaBeta.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/alphaBeta.py')
-rw-r--r--python/alphaBeta.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/alphaBeta.py b/python/alphaBeta.py
index 5fe06c8..6ac0400 100644
--- a/python/alphaBeta.py
+++ b/python/alphaBeta.py
@@ -90,7 +90,7 @@ class AlphaBeta(object):
if Ply_num == 0:
return State.CurrentScore
- possiblemoves=State.get_moves()
+ possiblemoves = State.Current.get_moves()
for x in possiblemoves:
if (x[0],x[1],x[2]) not in State.children:
State.Make(x[0],x[1],x[2])
@@ -99,7 +99,7 @@ class AlphaBeta(object):
i = 0
j = 0
for k, z in State.children.items():
- Result = Algo.Maximum(z, Ply_num - 1, Minimum_Score)
+ Result = AlphaBeta.Maximum(z, Ply_num - 1, Minimum_Score)
if Minimum_Score > Result:
Minimum_Score = Result
if Result < Beta: