Commit 69c1e487 authored by Sam Moore's avatar Sam Moore

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
parent c753264a
...@@ -56,7 +56,7 @@ class Asmodeus: ...@@ -56,7 +56,7 @@ class Asmodeus:
self.board = [] self.board = []
self.units = [] self.units = []
if self.Setup(): if self.Setup():
while self.MakeMove(): while self.MoveCycle(): #derp derp derp
pass pass
...@@ -87,7 +87,7 @@ class Asmodeus: ...@@ -87,7 +87,7 @@ class Asmodeus:
def MakeMove(self): def MakeMove(self):
#TODO: Over-ride this function in base classes with more complex move behaviour #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() #self.debugPrintBoard()
while True: while True:
if len(self.units) <= 0: if len(self.units) <= 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment