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
Made networking work hopefully
[progcomp2013.git]
/
qchess
/
src
/
player.py
diff --git
a/qchess/src/player.py
b/qchess/src/player.py
index
99d3616
..
53edb44
100644
(file)
--- a/
qchess/src/player.py
+++ b/
qchess/src/player.py
@@
-20,6
+20,12
@@
class Player():
def reset_board(self, s):
pass
def reset_board(self, s):
pass
+
+ def __str__(self):
+ return self.name + "<"+str(self.colour)+">"
+
+ def base_player(self):
+ return self
# Player that runs from another process
class ExternalAgent(Player):
# Player that runs from another process
class ExternalAgent(Player):
UCC
git Repository :: git.ucc.asn.au