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

MexicanStarttype

When the Mexican Train may be started.

  • any (the default): on any turn, by anybody, as most published rules say.
  • ownFirst: a player may lay on the Mexican Train only once their own train has been started, the common house rule that keeps a first turn about your own train.

Import it

import type { MexicanStart } from "@johnmorrisdotca/domino";

Definition

type MexicanStart = "any" | "ownFirst";

Examples

import type { MexicanStart } from "@johnmorrisdotca/domino";

const value: MexicanStart = "ownFirst";
console.log(value);
ownFirst

What it prints (run when this page was built)

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