From 16497d70e2d4f9e7568d56e5bc791fcd0a625a4f Mon Sep 17 00:00:00 2001 From: Jack Vehmeier Date: Tue, 27 Apr 2021 23:08:41 -0500 Subject: alphabeta is closer --- python/alphaBeta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/alphaBeta.py') diff --git a/python/alphaBeta.py b/python/alphaBeta.py index fb89ab0..5d7b932 100644 --- a/python/alphaBeta.py +++ b/python/alphaBeta.py @@ -26,7 +26,7 @@ class ABNode(object): # A class for Node related operations self.CurrentScore = self.Current.score[2]-self.Current.score[1] def Make(self, r,c,o): # Function for generating a child node - self.children[(r,c,o)] = ABNode(self.Current) + self.children[(r,c,o)] = ABNode(self.Current.get_cur) move=(r,c,o) self.children[(r,c,o)].Current.play_move(move) self.children[(r,c,o)].update_score() -- cgit v1.2.3