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

tileWordsfunction

The list already loaded, for judging and dealing. Throws where loadTileWords has not yet fetched it: a check that cannot read the list must not answer.

Import it

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

Definition

function tileWords(language?: KumimojiLanguage): TileWords

Parameters

NameTypeDescription
language (optional)KumimojiLanguage

The English or Japanese tile language.

Returns

TileWords

The list already loaded, for judging and dealing. Throws where loadTileWords has not yet fetched it: a check that cannot read the list must not answer.

Examples

import { tileWords } from "@johnmorrisdotca/kumimoji";
import { loadTileWordsFromModule } from "@johnmorrisdotca/kumimoji/words";

await loadTileWordsFromModule("english");
console.log(tileWords("english").allowed.has("cat"));
true

What it prints (run when this page was built)

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