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

TILE_GROUPSconstant

THE GROUPS A SET FALLS INTO, for a viewer: each suit, and the bigger families people name them by: honours (winds and dragons), bonus (flowers and seasons), the numbers (the three suits), and the terminals (the ones and nines) and simples (two to eight) a hand is judged by.

Import it

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

Definition

const TILE_GROUPS: readonly ["characters", "circles", "bamboo", "winds", "dragons", "flowers", "seasons", "numbers", "honours", "bonus", "terminals", "simples"] = ["characters", "circles", "bamboo", "winds", "dragons", "flowers", "seasons", "numbers", "honours", "bonus", "terminals", "simples"] as const

Examples

import { TILE_GROUPS } from "@johnmorrisdotca/jarajara";
console.log(TILE_GROUPS);
[
  'characters', 'circles',
  'bamboo',     'winds',
  'dragons',    'flowers',
  'seasons',    'numbers',
  'honours',    'bonus',
  'terminals',  'simples'
]

What it prints (run when this page was built)

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