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

tileBackFacefunction

A back's plate and pattern in the tile's 30 by 40, without the sliver of side or the <svg>: the inside of a <symbol>, or the back an element puts behind a tile it turns over. For a name that is no back drawn here, the design given (its own back), and otherwise the jade one.

Import it

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

Definition

function tileBackFace(name?: TileBackName, options?: TileBackOptions): string

Parameters

NameTypeDescription
name (optional)TileBackName

The local seat name, back name or design name specified by this signature.

options (optional)TileBackOptions

Native game, SVG, sound or presentation options.

Returns

string

A back's plate and pattern in the tile's 30 by 40, without the sliver of side or the <svg>: the inside of a <symbol>, or the back an element puts behind a tile it turns over. For a name that is no back drawn here, the design given (its own back), and otherwise the jade one.

Examples

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

console.log(tileBackFace("jade").length);
1994

What it prints (run when this page was built)

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