Board Classes

class sente.Board9
get_side(self: sente.Board9) int

get the length of the side of the board

Returns

the length of the side of the board (9)

get_stone(self: sente.Board9, arg0: int, arg1: int) sente.stone

get the stone located on the specified point.

Parameters
  • x – The x co-ordinate to get the stone for.

  • y – The y co-ordinate to get the stone for.

Returns

the stone located at specified point

play(self: sente.Board9, move: sente.Move) None

play a stone on the board

Parameters

move – the move object to play

class sente.Board13
get_side(self: sente.Board13) int

get the length of the side of the board

Returns

the length of the side of the board (13)

get_stone(self: sente.Board13, arg0: int, arg1: int) sente.stone

get the stone located on the specified point.

Parameters
  • x – The x co-ordinate to get the stone for.

  • y – The y co-ordinate to get the stone for.

Returns

the stone located at specified point

play(self: sente.Board13, move: sente.Move) None

play a stone on the board

Parameters

move – the move object to play

class sente.Board19
get_side(self: sente.Board19) int

get the length of the side of the board

Returns

the length of the side of the board (19)

get_stone(self: sente.Board19, arg0: int, arg1: int) sente.stone

get the stone located on the specified point.

Parameters
  • x – The x co-ordinate to get the stone for.

  • y – The y co-ordinate to get the stone for.

Returns

the stone located at specified point

play(self: sente.Board19, move: sente.Move) None

play a stone on the board

Parameters

move – the move object to play