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

squareAtfunction

A square's name, "row,col".

Import it

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

Definition

function squareAt(row: number, col: number): string

Parameters

NameTypeDescription
rownumber

The integer row coordinate, which may be negative.

colnumber

The integer column coordinate, which may be negative.

Returns

string

A square's name, "row,col".

Examples

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

console.log(squareAt(-1,2));
-1,2

What it prints (run when this page was built)

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