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

tileKanafunction

The tile a kana is played with, or null for anything that is not hiragana (ー, katakana, a letter).

Import it

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

Definition

function tileKana(kana: string): string | null

Parameters

NameTypeDescription
kanastring

The hiragana reading to map to a base tile.

Returns

string | null

The tile a kana is played with, or null for anything that is not hiragana (ー, katakana, a letter).

Examples

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

console.log(tileKana("が"));
か

What it prints (run when this page was built)

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