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 · Sound controls

TileSoundKindtype

One kind of sound: shuffle the tiles stirred face down, draw a tile taken from the boneyard, lay a tile set down on a train, knock a rap on the table, which is how a pass is announced.

Import it

import type { TileSoundKind } from "@johnmorrisdotca/domino/tile-sounds";

Definition

type TileSoundKind = (typeof TILE_SOUND_KINDS)[number];

Examples

import type { TileSoundKind } from "@johnmorrisdotca/domino/tile-sounds";

const value: TileSoundKind = "lay";
console.log(value);
lay

What it prints (run when this page was built)

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