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_SET_NAMESconstant

Each set by name, for the set-up's tiles and the card on My games.

Import it

import { TRAIN_SET_NAMES } from "@johnmorrisdotca/domino";

Definition

const TRAIN_SET_NAMES: Record<number, string> = { 9: "Double-nine", 12: "Double-twelve", 15: "Double-fifteen" }

Examples

import { TRAIN_SET_NAMES } from "@johnmorrisdotca/domino";
console.log(TRAIN_SET_NAMES);
{ '9': 'Double-nine', '12': 'Double-twelve', '15': 'Double-fifteen' }

What it prints (run when this page was built)

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