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

typingWayfunction

Which way typed letters run ON THE SCREEN. Typing lays a word across or down the grid, so that it reads as a word; with the table turned, that is another way on the screen, and the cursor's arrow points it.

Import it

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

Definition

function typingWay(across: boolean, turn: Turn): { arrow: string; name: string; }

Parameters

NameTypeDescription
acrossboolean

Whether to lay or type horizontally rather than vertically.

turnTurn

The number of quarter turns of the view.

Returns

{ arrow: string; name: string; }

Which way typed letters run ON THE SCREEN. Typing lays a word across or down the grid, so that it reads as a word; with the table turned, that is another way on the screen, and the cursor's arrow points it.

Examples

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

console.log(typingWay(true,1));
{ arrow: '↓', name: 'down' }

What it prints (run when this page was built)

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