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

Upgrading

Upgrading and moving from other libraries

Keep the 1.x baseline and choose the right feature when coming from another mahjong library.

Preserve the 1.x baseline

The original five layouts and seeded deals remain stable; new layouts, challenges, visual designs and rack methods extend that baseline. Keep recorded layout identifiers and face-code order.

Choose the matching contract

A generic mahjong tile renderer need not have Awase rules, and a riichi round engine is a different game. Use Jarajara's faces for SVG, root for layout/matching records, awase for solo challenges and table for its native scoring table. Adapt notation through native readers instead of assuming another library's face indices match.

Verify an upgrade

Replay known completed and partial records, test group/same bonus rules, validate shadows/geometry and language changes, and keep browser element cleanup. Preserve existing credits for optional assets. CHANGELOG.md, CREDITS.md and native embeds retain detailed compatibility and provenance.

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