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

MahjongCellstype

The tiles as they lie: a face code for each slot of the layout, "." where the tile has been taken. The same string the givens are written as.

Import it

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

Definition

type MahjongCells = string;

Examples

import { generateAwase } from "@johnmorrisdotca/jarajara/awase";
import type { MahjongCells } from "@johnmorrisdotca/jarajara";

const deal = generateAwase(4,"easy",2026);
const cells = deal.givens;
const value: MahjongCells = cells;
console.log(value);
xPNxDBBD

What it prints (run when this page was built)

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