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

partyTilesNeededfunction

The tiles a bag must hold for this many players: a hand each and one round of draws.

Import it

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

Definition

function partyTilesNeeded(players: number, hand: number): number

Parameters

NameTypeDescription
playersnumber

The requested player count or current player rows.

handnumber

The hand size or tile codes, as declared by the function signature.

Returns

number

The tiles a bag must hold for this many players: a hand each and one round of draws.

Examples

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

console.log(partyTilesNeeded(2,3));
8

What it prints (run when this page was built)

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