Interface: Score
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
black | readonly | number | null | Points for each side, komi included for White; null after resignation. |
dame | readonly | readonly Point[] | Empty points counted for neither side: points bordered by both colours, and, under Japanese rules, the empty areas a seki group touches. Dead stones' points count as empty. |
groups | readonly | readonly { color: Color; status: GroupStatus; stones: readonly Point[]; }[] | Every group on the board, with its status. |
result | readonly | string | As SGF RE writes it: 'B+3.5', 'W+0.5', '0' for a draw, or 'B+R' / 'W+R' after resignation. |
territory | readonly | { black: readonly Point[]; white: readonly Point[]; } | - |
territory.black | readonly | readonly Point[] | - |
territory.white | readonly | readonly Point[] | - |
white | readonly | number | null | - |