Use nicer symbols, allow multiple games at once

This commit is contained in:
2012-04-19 01:46:09 -04:00
parent 902f34395f
commit 0e48b1249d
9 changed files with 78 additions and 24 deletions

View File

@ -299,14 +299,15 @@ class Goban:
code = self.def_draw_codes[pos]
elif point == Goban.BLACK:
code = 'b'
if pos == self.last_move:
code += 'Cw'
elif point == Goban.WHITE:
code = 'w'
if pos == self.last_move:
code += 'Cb'
if pos == self.last_move:
code += 'C'
if pos == self.ko:
code += 'C'
code += 'S'
return code