Reference · Tiles, Mexican Train and replay
TRAIN_SETSconstant
THE SETS OFFERED, by their highest double. Double-twelve is the set Mexican
Train is sold with and the one most published rules are written for, so it
is the default; double-nine for a quicker game with fewer, larger pips, and
double-fifteen for a long evening. These are the party game's "sizes"
(PARTY_SPECS), since the set is what the table is played on.
Import it
import { TRAIN_SETS } from "@johnmorrisdotca/domino";
Definition
const TRAIN_SETS: { readonly nine: 9; readonly twelve: 12; readonly fifteen: 15; } = { nine: 9, twelve: 12, fifteen: 15 } as const
Members
| Name | Type | Description |
|---|---|---|
nine | 9 | |
twelve | 12 | |
fifteen | 15 |
Examples
import { TRAIN_SETS } from "@johnmorrisdotca/domino";
console.log(TRAIN_SETS);{ nine: 9, twelve: 12, fifteen: 15 }What it prints (run when this page was built)