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

TileFaceOftype

What a tile shows: what tileFace answers.

Import it

import type { TileFaceOf } from "@johnmorrisdotca/kumimoji";

Definition

type TileFaceOf = {
    glyph: string;
    forms: string;
    wild: boolean;
    blank: boolean;
};

Members

NameTypeDescription
glyphstring

The letter or kana printed on it: 五 on a wild nobody has given one.

formsstring

The other forms it plays as, small in its corner (CORNER_FORMS).

wildboolean

Whether it is a wild tile, given a letter or not.

blankboolean

A wild with no letter yet.

Examples

import type { TileFaceOf } from "@johnmorrisdotca/kumimoji";
import { tileFace } from "@johnmorrisdotca/kumimoji";

const value: TileFaceOf = tileFace("A");
console.log(value);
{ glyph: 'a', forms: '', wild: true, blank: false }

What it prints (run when this page was built)

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