Skip to the content

Kumimoji組み文字

Build crosswords from seeded English or Japanese tile bags, alone or at a shared table.

Kumimoji means assembled characters in Japanese. About the name

Contents

Reference · Rules, tiles and records

formsOfTilefunction

Every hiragana a tile plays as, itself first: は is は, ば and ぱ. None for a kana that is not a tile's own.

Import it

import { formsOfTile } from "@johnmorrisdotca/kumimoji";

Definition

function formsOfTile(kana: string): string[]

Parameters

NameTypeDescription
kanastring

The hiragana reading to map to a base tile.

Returns

string[]

Every hiragana a tile plays as, itself first: は is は, ば and ぱ. None for a kana that is not a tile's own.

Examples

import { formsOfTile } from "@johnmorrisdotca/kumimoji";

console.log(formsOfTile("は"));
[ 'は', 'ば', 'ぱ' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kumimoji 1.6.0.