KumimojiOptions型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
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 type { KumimojiOptions } from "@johnmorrisdotca/kumimoji";
定義
type KumimojiOptions = {
gameLength?: KumimojiLength;
doubleSet?: boolean;
language?: KumimojiLanguage;
diagonals?: boolean;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
gameLength (省略可) | KumimojiLength | undefined | |
doubleSet (省略可) | boolean | undefined | |
language (省略可) | KumimojiLanguage | undefined | |
diagonals (省略可) | 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 ( |
例
import type { KumimojiOptions } from "@johnmorrisdotca/kumimoji";
const value: KumimojiOptions = {language:"english",diagonals:false};
console.log(value);{ language: 'english', diagonals: false }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。