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

unpackTileWordsfunction

The English list read from its packed data: every word, the words by length, the set's mix, and the functions that turn tiles into words.

Import it

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

Definition

function unpackTileWords(data: Readonly<Record<number, string>>): TileWords

Parameters

NameTypeDescription
dataReadonly<Record<number, string>>

The packed language-list data to decode.

Returns

TileWords

The English list read from its packed data: every word, the words by length, the set's mix, and the functions that turn tiles into words.

Examples

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

console.log(unpackTileWords({3:"0cat2r"}).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.