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

MORE_LAYOUTSconstant

The additional native stacked layouts and their supported size identifiers.

Import it

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

Definition

const MORE_LAYOUTS: readonly MahjongLayout[] = [PAGODA, FORTRESS, PYRAMID, BRIDGE, BUTTERFLY, DRAGON]

Examples

import { MORE_LAYOUTS } from "@johnmorrisdotca/jarajara";
console.log(MORE_LAYOUTS.map(layout=>[layout.size,layout.key,layout.slots.length]));
[
  [ 11, 'pagoda', 94 ],
  [ 12, 'fortress', 116 ],
  [ 13, 'pyramid', 142 ],
  [ 14, 'bridge', 84 ],
  [ 16, 'butterfly', 112 ],
  [ 17, 'dragon', 142 ]
]

What it prints (run when this page was built)

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