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

defineBoardfunction

Register a standard or custom board tag without replacing a definition. Safe without a browser.

Import it

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

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

Definition

function defineBoard(tag?: string): void

Parameters

NameTypeDescription
tag (optional)string

The custom tag name; omitted to use the package default.

Examples

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

What it prints (run when this page was built)

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