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

Viewtype

A view: a tile's side in pixels, and where the corner of square (0, 0) is drawn.

Import it

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

Definition

type View = {
    tile: number;
    x: number;
    y: number;
};

Members

NameTypeDescription
tilenumber
xnumber
ynumber

Examples

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

const view = {tile:40,x:100,y:100};
const value: View = view;
console.log(value);
{ tile: 40, x: 100, y: 100 }

What it prints (run when this page was built)

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