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

faceWordsJafunction

What a face is called in Japanese: 三萬, 五筒, 七索, 東, 中, 梅, 春.

Import it

import { faceWordsJa } from "@johnmorrisdotca/jarajara";

Definition

function faceWordsJa(face: MahjongFace): string

Parameters

NameTypeDescription
faceMahjongFace

The decoded suit and rank of one tile face.

Returns

string

What a face is called in Japanese: 三萬, 五筒, 七索, 東, 中, 梅, 春.

Examples

import { faceOf, faceWordsJa } from "@johnmorrisdotca/jarajara";

const face = faceOf("a")!;
console.log(faceWordsJa(face));
一萬

What it prints (run when this page was built)

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