Reference · Tiles, Mexican Train and replay
TRAIN_DOUBLESconstant
The one-double and chained-double house-rule choices.
Import it
import { TRAIN_DOUBLES } from "@johnmorrisdotca/domino";
Definition
const TRAIN_DOUBLES: { readonly one: "one"; readonly chain: "chain"; } = { one: "one", chain: "chain" } as const satisfies Record<DoublesRule, DoublesRule>
Members
| Name | Type | Description |
|---|---|---|
one | "one" | |
chain | "chain" |
Examples
import { TRAIN_DOUBLES } from "@johnmorrisdotca/domino";
console.log(TRAIN_DOUBLES);{ one: 'one', chain: 'chain' }What it prints (run when this page was built)