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

Masyu player

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

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

Exports

NameKindWhat it is
MASYU_PLAY_STYLEconstantScoped native Masyu board and player CSS.
MASYU_STRINGSconstantNative English and Japanese labels and announcements for Masyu.
MasyuDrawOptionstypeCurrent Masyu marks or entries, selection, errors and native SVG appearance choices.
MasyuMounttypeThe mounted Masyu game and progress, native controls and cleanup handle.
MasyuMountOptionstypeThe initial Masyu board, native progress, appearance and host event callbacks.
mountMasyufunctionMount the native Masyu player in a host element and return its cleanup and control handle.

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