Reference · Rules, games and records
VARIANT_KEYSconstant
The variants' keys, in the order the demo lists them.
Import it
import { VARIANT_KEYS } from "@johnmorrisdotca/sugoroku";
Definition
const VARIANT_KEYS: readonly VariantKey[] = [
"backgammon",
"backgammon-race",
"anti-backgammon",
"nackgammon",
"long-gammon",
"hypergammon",
"tabula",
]
Examples
import { VARIANT_KEYS } from "@johnmorrisdotca/sugoroku";
console.log(VARIANT_KEYS);[
'backgammon',
'backgammon-race',
'anti-backgammon',
'nackgammon',
'long-gammon',
'hypergammon',
'tabula'
]What it prints (run when this page was built)