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

Shikaku player

import { … } from "@johnmorrisdotca/kazu/shikaku/play";

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

Exports

NameKindWhat it is
mountShikakufunctionA rectangle player in any element; mount once, update appearance with set, destroy on unmount.
SHIKAKU_PLAY_STYLEconstantScoped native Shikaku board and player CSS.
SHIKAKU_STRINGSconstantNative English and Japanese labels and announcements for Shikaku.
ShikakuDrawOptionstypeCurrent Shikaku marks or entries, selection, errors and native SVG appearance choices.
ShikakuLanguagetypeThe native English or Japanese display language for Shikaku.
ShikakuMaterialtypeA supported material of the native Shikaku board.
ShikakuMounttypeThe mounted Shikaku game and progress, native controls and cleanup handle.
ShikakuMountOptionstypeThe initial Shikaku board, native progress, appearance and host event callbacks.
ShikakuPiecestypeA supported native Shikaku mark or piece appearance.

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