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

placeOffunction

A square's row and column, from its name.

Import it

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

Definition

function placeOf(square: string): { row: number; col: number; }

Parameters

NameTypeDescription
squarestring

The row,column square name.

Returns

{ row: number; col: number; }

A square's row and column, from its name.

Examples

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

console.log(placeOf("-1,2"));
{ row: -1, col: 2 }

What it prints (run when this page was built)

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