git.ucc.asn.au
/
progcomp2013.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Self inflicted wounds using cx_freeze
[progcomp2013.git]
/
agents
/
bishop.py
diff --git
a/agents/bishop.py
b/agents/bishop.py
index
8c88a1f
..
3c7738e
100755
(executable)
--- a/
agents/bishop.py
+++ b/
agents/bishop.py
@@
-291,8
+291,8
@@
def main(argv):
agent = Agent(argv[0], colour) # Creates your agent
agent = Agent(argv[0], colour) # Creates your agent
- graphics = AgentGraphics(agent.board, title="Agent Bishop (" + str(colour) + ") - DEBUG VIEW")
- graphics.start()
+
#
graphics = AgentGraphics(agent.board, title="Agent Bishop (" + str(colour) + ") - DEBUG VIEW")
+
#
graphics.start()
# Plays quantum chess using your agent
while True:
# Plays quantum chess using your agent
while True:
@@
-312,8
+312,8
@@
def main(argv):
else:
agent.update(line) # Updates agent.board
else:
agent.update(line) # Updates agent.board
- graphics.stop()
- graphics.join()
+
#
graphics.stop()
+
#
graphics.join()
return 0
# Don't touch this
return 0
# Don't touch this
UCC
git Repository :: git.ucc.asn.au