Skip to the content

Dominoドミノ

Deal seeded dominoes, play Mexican Train with native rules and computers, and replay a saved game.

Domino is the Japanese borrowed word ドミノ for dominoes. About the name

Contents

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

NameTypeDescription
nine9
twelve12
fifteen15

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)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/domino 1.1.4.