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 · Recorded sounds

TileSoundFiletype

The name of one recording: its kind of sound and a number, such as lay-2.

Import it

import type { TileSoundFile } from "@johnmorrisdotca/domino/sounds";

Definition

type TileSoundFile = "draw-1" | "draw-2" | "knock-1" | "knock-2" | "lay-1" | "lay-2" | "lay-3" | "shuffle-1" | "shuffle-2";

Examples

import type { TileSoundFile } from "@johnmorrisdotca/domino/sounds";
const file: TileSoundFile = "lay-2";
console.log(file);
lay-2

What it prints (run when this page was built)

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