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

RackTurnOptionstype

How a rack's tiles are turned face down or face up.

Import it

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

Definition

type RackTurnOptions = {
    oneByOne?: boolean;
    gap?: number;
};

Members

NameTypeDescription
oneByOne (optional)boolean | undefined

One tile after another, from the first, rather than all at once. Unless said, all at once.

gap (optional)number | undefined

Milliseconds between one tile and the next, one by one. Unless said, 90.

Examples

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

const value: RackTurnOptions = {oneByOne:true,gap:100};
console.log(value);
{ oneByOne: true, gap: 100 }

What it prints (run when this page was built)

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