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 · Shared Awase table

SEAT_WINDSconstant

The four seats' winds, east first, as a mahjong table seats its players.

Import it

import { SEAT_WINDS } from "@johnmorrisdotca/jarajara/table";

Definition

const SEAT_WINDS: readonly { label: string; kanji: string; }[] = [
    { label: "East", kanji: "東" },
    { label: "South", kanji: "南" },
    { label: "West", kanji: "西" },
    { label: "North", kanji: "北" },
]

Examples

import { SEAT_WINDS } from "@johnmorrisdotca/jarajara/table";
console.log(SEAT_WINDS);
[
  { label: 'East', kanji: '東' },
  { label: 'South', kanji: '南' },
  { label: 'West', kanji: '西' },
  { label: 'North', kanji: '北' }
]

What it prints (run when this page was built)

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