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

ELEMENT_SIZESconstant

The sizes every element takes, as a tile's width in pixels.

Import it

import { ELEMENT_SIZES } from "@johnmorrisdotca/jarajara/element";

Definition

const ELEMENT_SIZES: { readonly small: 32; readonly medium: 48; readonly large: 72; } = { small: 32, medium: 48, large: 72 } as const

Members

NameTypeDescription
small32
medium48
large72

Examples

import { ELEMENT_SIZES } from "@johnmorrisdotca/jarajara/element";
console.log(ELEMENT_SIZES);
{ small: 32, medium: 48, large: 72 }

What it prints (run when this page was built)

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