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

TileOrdertype

How a hand is put in order: as dealt, by suit then rank, by rank across the suits, by kind, or by the letters.

Import it

import type { TileOrder } from "@johnmorrisdotca/jarajara";

Definition

type TileOrder = "dealt" | "suit" | "rank" | "kind" | "code";

Examples

import type { TileOrder } from "@johnmorrisdotca/jarajara";

const value: TileOrder = "suit";
console.log(value);
suit

What it prints (run when this page was built)

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