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

kumimojiPointsfunction

A finished game's leaderboard points (KUMIMOJI_SCORE): ten a tile, and up to as much again for speed.

Import it

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

Definition

function kumimojiPoints(givens: string, elapsedMs: number): number

Parameters

NameTypeDescription
givensstring

The original bag of internal tile codes.

elapsedMsnumber

The elapsed solve time in milliseconds.

Returns

number

A finished game's leaderboard points (KUMIMOJI_SCORE): ten a tile, and up to as much again for speed.

Examples

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

console.log(kumimojiPoints("cat",12000));
56

What it prints (run when this page was built)

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