Reference · Tiles, Mexican Train and replay
TRAIN_DEFAULT_OPTIONSconstant
The options a table opens on: every round, one double at a time, and the Mexican Train open from the start.
Import it
import { TRAIN_DEFAULT_OPTIONS } from "@johnmorrisdotca/domino";
Definition
const TRAIN_DEFAULT_OPTIONS: TrainOptions = { length: "full", doubles: "one", mexican: "any" }
Members
| Name | Type | Description |
|---|---|---|
length | TrainLength | |
doubles | DoublesRule | |
mexican | MexicanStart |
Examples
import { TRAIN_DEFAULT_OPTIONS } from "@johnmorrisdotca/domino";
console.log(TRAIN_DEFAULT_OPTIONS);{ length: 'full', doubles: 'one', mexican: 'any' }What it prints (run when this page was built)