Reference · Rules, games and records
Sidetype
THE TWO SIDES. A game has a white and a black player. Every count in a
position is kept per side, in that side's own numbering of the points: a
side's own point 1 is the one nearest its bearing-off, its own point 24 the
one farthest from it, whichever way the board is drawn.
Import it
import type { Side } from "@johnmorrisdotca/sugoroku";
Definition
type Side = "white" | "black";
Examples
import type { Side } from "@johnmorrisdotca/sugoroku";
const value: Side = "white";
console.log(value);whiteWhat it prints (run when this page was built)