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

TrainLengthtype

How many rounds: all of them, one for every double from the set's highest down to double blank, or half as many.

Import it

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

Definition

type TrainLength = "full" | "short";

Examples

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

const value: TrainLength = "short";
console.log(value);
short

What it prints (run when this page was built)

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