Optional
removal: boolean[][]Optional
autoscored_Optional
autoscored_Optional
autoscored_Protected
Optional
goban_Private
groupsReadonly
heightReadonly
widthReturns a clone of .board
Clone the entire BoardState
Computes scoring locations for the board. If area_scoring
is true, we
will use area scoring rules, otherwise we will use territory scoring rules
(which implies omitting territory in seki).
Private
estimatePrivate
estimateReturns an array of groups connected to the given group. This is a bit faster than using StoneGroupBuilder because we only compute the values we need.
Returns an array of x/y pairs of all the same color
Computes a rough estimation of ownership and score.
Toggles a group of stones for removal or restoration.
By default, if we are marking a group for removal but the group is almost certainly alive (two eyes, etc), this will result in a no-op, unless force_removal is set to true.
Returns true if the
.board
field from the other board is equal to this one