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

TILE_SOUND_KINDSconstant

Every kind of sound, in the order a game meets them.

Import it

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

Definition

const TILE_SOUND_KINDS: readonly ["shuffle", "draw", "lay", "knock"] = ["shuffle", "draw", "lay", "knock"] as const

Examples

import { TILE_SOUND_KINDS } from "@johnmorrisdotca/domino/tile-sounds";
console.log(TILE_SOUND_KINDS);
[ 'shuffle', 'draw', 'lay', 'knock' ]

What it prints (run when this page was built)

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