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 · Tile and table elements

TileReftype

Tiles as a method is given them: a number is the place of one tile in the rack as it was written (tiles), from 0; a letter or a name ("F", "east", "3p") is every tile of that face; a list is each of its parts.

Import it

import type { TileRef } from "@johnmorrisdotca/jarajara/element";

Definition

type TileRef = number | string | readonly (number | string)[];

Examples

import type { TileRef } from "@johnmorrisdotca/jarajara/element";

const value: TileRef = [0,1,2];
console.log(value);
[ 0, 1, 2 ]

What it prints (run when this page was built)

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