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 · Tiles, layouts and deals

SUIT_WORDSconstant

What a suit or group is called, in English and in Japanese.

Import it

import { SUIT_WORDS } from "@johnmorrisdotca/jarajara";

Definition

const SUIT_WORDS: Readonly<Record<MahjongSuit, { en: string; ja: string; }>> = {
    characters: { en: "Characters", ja: "萬子" },
    circles: { en: "Circles", ja: "筒子" },
    bamboo: { en: "Bamboo", ja: "索子" },
    winds: { en: "Winds", ja: "風牌" },
    dragons: { en: "Dragons", ja: "三元牌" },
    flowers: { en: "Flowers", ja: "花牌" },
    seasons: { en: "Seasons", ja: "季節牌" },
}

Members

NameTypeDescription
characters{ en: string; ja: string; }
circles{ en: string; ja: string; }
bamboo{ en: string; ja: string; }
winds{ en: string; ja: string; }
dragons{ en: string; ja: string; }
flowers{ en: string; ja: string; }
seasons{ en: string; ja: string; }

Examples

import { SUIT_WORDS } from "@johnmorrisdotca/jarajara";
console.log(SUIT_WORDS);
{
  characters: { en: 'Characters', ja: '萬子' },
  circles: { en: 'Circles', ja: '筒子' },
  bamboo: { en: 'Bamboo', ja: '索子' },
  winds: { en: 'Winds', ja: '風牌' },
  dragons: { en: 'Dragons', ja: '三元牌' },
  flowers: { en: 'Flowers', ja: '花牌' },
  seasons: { en: 'Seasons', ja: '季節牌' }
}

What it prints (run when this page was built)

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