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

TileSoundDatatype

The recordings, by name (deal-2), as base64 AAC.

Import it

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

Definition

type TileSoundData = Readonly<Record<string, string>>;

Examples

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

const value: TileSoundData = TILE_SOUND_DATA;
console.log(Object.keys(value));
[
  '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'
]

What it prints (run when this page was built)

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