Move

class sente.Move

A class that represents a move that can be played on a go board, consisting of a position and a stone.

Members

get_stone(self: sente.Move) sente.stone

get the stone that the player will place on the board

Returns

sente.stone object that the move contains

get_vertex(self: sente.Move) sente.Vertex
get_x(self: sente.Move) int

get the x-coordinate of the move (internal indices)

Returns

x-coordinate of the move

get_y(self: sente.Move) int

get the y-coordinate of the move (internal indices)

Returns

y-coordinate of the move