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 · Number-puzzle engines

isKazuSizefunction

Whether this puzzle can be made at this side.

Import it

import { isKazuSize } from "@johnmorrisdotca/kazu";

Definition

function isKazuSize(kind: KazuKind, size: number): boolean

Parameters

NameTypeDescription
kind"number-place" | "jigsaw" | "diagonal" | "sum-cages" | "more-or-less" | "towers"

The native number-grid puzzle key.

sizenumber

The supported square grid side length.

Returns

boolean

Whether this puzzle can be made at this side.

Examples

import { isKazuSize } from "@johnmorrisdotca/kazu";

console.log(isKazuSize("number-place",4));
true

What it prints (run when this page was built)

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