本文へ移動

Kazu数

検証済みの数独や論理パズルを作り、標準の規則とヒントを読み、盤を描いたり埋め込んだりできます。

「数」は数字を表す言葉です。 名前について(英語)

目次

リファレンス · パズルの要素

KAZU_EMBED_OPTION_KEYS定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

Every mounted-board option, kept complete by TypeScript and checked by the builder.

インポート

import { KAZU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kazu/element";

ほかのエクスポート元: @johnmorrisdotca/kazu/element/define

定義

const KAZU_EMBED_OPTION_KEYS: string[] = Object.keys({ kind: true, size: true, givens: true, solution: true, level: true, seed: true, run: true, notes: true, elapsed: true, clock: true, controls: true, hints: true, check: true, conflicts: true, peers: true, tidy: true, tapToStep: true, language: true, onChange: true, onHint: true, onCheck: true, onSolve: true } satisfies Record<keyof KazuMountOptions, boolean>)

例

import { KAZU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kazu/element";
console.log(typeof KAZU_EMBED_OPTION_KEYS); // object
object

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/kazu 2.1.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。