Use nicer symbols, allow multiple games at once
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user