git.ucc.asn.au
/
progcomp2012.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed error in asmodeus.py due to stupidity
[progcomp2012.git]
/
samples
/
asmodeus
/
asmodeus.py
diff --git
a/samples/asmodeus/asmodeus.py
b/samples/asmodeus/asmodeus.py
index
3a104fd
..
2f83db6
100755
(executable)
--- a/
samples/asmodeus/asmodeus.py
+++ b/
samples/asmodeus/asmodeus.py
@@
-56,7
+56,7
@@
class Asmodeus:
self.board = []
self.units = []
if self.Setup():
self.board = []
self.units = []
if self.Setup():
- while self.M
akeMove():
+ while self.M
oveCycle(): #derp derp derp
pass
pass
@@
-87,7
+87,7
@@
class Asmodeus:
def MakeMove(self):
#TODO: Over-ride this function in base classes with more complex move behaviour
def MakeMove(self):
#TODO: Over-ride this function in base classes with more complex move behaviour
- #sys.stderr.write("Asmodeus Make
Random
Move here...\n")
+ #sys.stderr.write("Asmodeus MakeMove here...\n")
#self.debugPrintBoard()
while True:
if len(self.units) <= 0:
#self.debugPrintBoard()
while True:
if len(self.units) <= 0:
UCC
git Repository :: git.ucc.asn.au