Made networking work hopefully
[progcomp2013.git] / qchess / src / player.py
index 99d3616..53edb44 100644 (file)
@@ -20,6 +20,12 @@ class Player():
 
        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):

UCC git Repository :: git.ucc.asn.au