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

nextTurnfunction

The next turn a press gives: a quarter clockwise, and four presses back to the start.

Import it

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

Definition

function nextTurn(turn: Turn): Turn

Parameters

NameTypeDescription
turnTurn

The number of quarter turns of the view.

Returns

Turn

The next turn a press gives: a quarter clockwise, and four presses back to the start.

Examples

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

console.log(nextTurn(3));
0

What it prints (run when this page was built)

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