Ejemplo n.º 1
0
 def board2d(self):
     return str(GoBoardUtil.get_twoD_board(self.board))
Ejemplo n.º 2
0
 def __str__(self):
     twod = GoBoardUtil.get_twoD_board(self)
     twod_str = ['[' + ' '.join(row) + ']' for row in twod]
     return '\n'.join(twod_str)