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

MahjongSlottype

A place in a layout: a tile's top-left corner in half-tile units across and down, and its layer.

Import it

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

Definition

type MahjongSlot = {
    x: number;
    y: number;
    z: number;
};

Members

NameTypeDescription
xnumber
ynumber
znumber

Examples

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

const value: MahjongSlot = {x:0,y:0,z:0};
console.log(value);
{ x: 0, y: 0, z: 0 }

What it prints (run when this page was built)

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