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

TileSoundFiletype

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

Import it

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

Definition

type TileSoundFile = "flip-1" | "flip-2" | "pair-1" | "pair-2" | "pair-3" | "pair-4" | "pick-1" | "pick-2" | "place-1" | "place-2" | "place-3" | "shuffle-1" | "shuffle-2" | "shuffle-3" | "win-1" | "win-2";

Examples

import type { TileSoundFile } from "@johnmorrisdotca/jarajara/sounds";
const file: TileSoundFile = "pick-1";
console.log(file);
pick-1

What it prints (run when this page was built)

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