Reference · Rules, tiles and records
KumimojiOptionstype
WHAT A KUMIMOJI WAS SET UP AS, beyond its hand and level: the choices that make one game a different game from another at the same seed, carried together wherever a game is made, checked, kept or raced. Each is optional, and its absence is the default: Short, English, one set, no diagonals.
Import it
import type { KumimojiOptions } from "@johnmorrisdotca/kumimoji";
Definition
type KumimojiOptions = {
gameLength?: KumimojiLength;
doubleSet?: boolean;
language?: KumimojiLanguage;
diagonals?: boolean;
};
Members
| Name | Type | Description |
|---|---|---|
gameLength (optional) | KumimojiLength | undefined | |
doubleSet (optional) | boolean | undefined | |
language (optional) | KumimojiLanguage | undefined | |
diagonals (optional) | boolean | undefined | Diagonals (John, 2026-09-28: "we could allow people to play diagonally…
An option at startup is the right choice"): every diagonal run of three
or more tiles, read top to bottom, must be a word too, and joins its
tiles as a word across or down does ( |
Examples
import type { KumimojiOptions } from "@johnmorrisdotca/kumimoji";
const value: KumimojiOptions = {language:"english",diagonals:false};
console.log(value);{ language: 'english', diagonals: false }What it prints (run when this page was built)