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

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

27.7 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
defineBoardfunctionRegister a standard or custom board tag without replacing a definition.
KAZU_EMBED_OPTION_KEYSconstantEvery mounted-board option, kept complete by TypeScript and checked by the builder.
KazuBoardclassNative custom element with reflected setup and presentation.
KazuElementOptionstypeHost callbacks; the same actions also emit native events.

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