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 · SVG faces and looks

TILE_BACKSconstant

THE BACKS OF THE TILES, drawn as SVG in the tile's own 30 by 40: what a tile lying face down shows. Five are drawn here, each in the colours a real set's backs are made in: jade, the green of most sets, with a lattice; bamboo, the colour of the bamboo that old sets were backed with, with its grain and nodes; blue and red, flat colours with a ring; and ink, near black with a field of dots. A design brings its own as well (riichi, riichi-black), named like the design. Any of the five may be given a colour of its own and a few letters of writing.

Import it

import { TILE_BACKS } from "@johnmorrisdotca/jarajara/faces";

Definition

const TILE_BACKS: readonly ["jade", "bamboo", "blue", "red", "ink"] = ["jade", "bamboo", "blue", "red", "ink"] as const

Examples

import { TILE_BACKS } from "@johnmorrisdotca/jarajara/faces";
console.log(TILE_BACKS);
[ 'jade', 'bamboo', 'blue', 'red', 'ink' ]

What it prints (run when this page was built)

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