Skip to the content

Jarajaraジャラジャラ

Draw mahjong tiles, arrange racks and stacked boards, and play seeded Awase alone or at a shared table.

Jarajara is the Japanese sound of mahjong tiles rattling together. About the name

Contents

Reference · Sound controls

TileSoundKindtype

One kind of sound: pick a tile lifted, place one set down, flip one turned over, pair two knocked together, shuffle the tiles washed, win a clatter of tiles.

Import it

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

Definition

type TileSoundKind = (typeof TILE_SOUND_KINDS)[number];

Examples

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

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

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jarajara 1.7.0.