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

Yajilin player

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

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

Exports

NameKindWhat it is
mountYajilinfunctionMount the native Yajilin player in a host element and return its cleanup and control handle.
YAJILIN_PLAY_STYLEconstantScoped native Yajilin board and player CSS.
YAJILIN_STRINGSconstantNative English and Japanese labels and announcements for Yajilin.
YajilinDrawOptionstypeCurrent Yajilin marks or entries, selection, errors and native SVG appearance choices.
YajilinMounttypeThe mounted Yajilin game and progress, native controls and cleanup handle.
YajilinMountOptionstypeThe initial Yajilin board, native progress, appearance and host event callbacks.

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