Reference · Rules, games and records
WinKindtype
What kind of win it was, which is how many times the cube's value it scores.
Import it
import type { WinKind } from "@johnmorrisdotca/sugoroku";
Definition
type WinKind = "single" | "gammon" | "backgammon";
Examples
import type { WinKind } from "@johnmorrisdotca/sugoroku";
const value: WinKind = "gammon";
console.log(value);gammonWhat it prints (run when this page was built)