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

PartySettingstype

What a pass-and-play game was set up as: the address's own choices, which a kept game is matched to.

Import it

import type { PartySettings } from "@johnmorrisdotca/kumimoji";

Definition

type PartySettings = {
    size: number;
    level: KumimojiLevel;
    seed: number;
    gameLength: KumimojiLength;
    language: KumimojiLanguage;
    doubleSet: boolean;
    diagonals: boolean;
    hints: boolean;
};

Members

NameTypeDescription
sizenumber

The hand each player is dealt: 7 Quick or 11 Classic (3 in the browser tests alone).

levelKumimojiLevel
seednumber

The seed the bag was made from; the bag itself is kept too, so a kept game never depends on the generator.

gameLengthKumimojiLength
languageKumimojiLanguage
doubleSetboolean
diagonalsboolean

Whether Diagonals was chosen: every table in the game is read along its diagonals too (judgeGrid).

hintsboolean

Whether Help was chosen on the set-up screen.

Examples

import type { PartySettings } from "@johnmorrisdotca/kumimoji";

const settings = {size:3,level:"hard",seed:44,gameLength:"short",language:"english",doubleSet:false,diagonals:false,hints:false} as const;
const value: PartySettings = settings;
console.log(value);
{
  size: 3,
  level: 'hard',
  seed: 44,
  gameLength: 'short',
  language: 'english',
  doubleSet: false,
  diagonals: false,
  hints: false
}

What it prints (run when this page was built)

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