Skip to the content

Kazu数

Generate checked Sudoku and logic puzzles, read native rules and hints, and draw or embed playable boards.

Kazu is the Japanese word 数 for number. About the name

Contents

Reference · Puzzle elements

KAZU_EMBED_OPTION_KEYSconstant

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

Import it

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

Also exported from: @johnmorrisdotca/kazu/element/define

Definition

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>)

Examples

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

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kazu 2.1.0.