From 69c1e487ebc96ebdcfd586d77c911a833c020474 Mon Sep 17 00:00:00 2001 From: Sam Moore Date: Mon, 5 Dec 2011 23:52:42 +0800 Subject: [PATCH] Fixed error in asmodeus.py due to stupidity - Originally MoveCycle was called MakeMove and MakeMove was called MakeRandomMove - So when I changed the names I forgot to call MoveCycle instead of the new MakeMove --- samples/asmodeus/asmodeus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/asmodeus/asmodeus.py b/samples/asmodeus/asmodeus.py index 3a104fd..2f83db6 100755 --- a/samples/asmodeus/asmodeus.py +++ b/samples/asmodeus/asmodeus.py @@ -56,7 +56,7 @@ class Asmodeus: self.board = [] self.units = [] if self.Setup(): - while self.MakeMove(): + while self.MoveCycle(): #derp derp derp pass @@ -87,7 +87,7 @@ class Asmodeus: def MakeMove(self): #TODO: Over-ride this function in base classes with more complex move behaviour - #sys.stderr.write("Asmodeus MakeRandomMove here...\n") + #sys.stderr.write("Asmodeus MakeMove here...\n") #self.debugPrintBoard() while True: if len(self.units) <= 0: -- 2.20.1