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

noCluesfunction

Create empty visibility clues on all four sides of a square grid.

Import it

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

Definition

function noClues(size: number): TowerClues

Parameters

NameTypeDescription
sizenumber

The supported square grid side length.

Returns

TowerClues

Create empty visibility clues on all four sides of a square grid.

Examples

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

console.log(noClues(4));
{
  top: [ 0, 0, 0, 0 ],
  bottom: [ 0, 0, 0, 0 ],
  left: [ 0, 0, 0, 0 ],
  right: [ 0, 0, 0, 0 ]
}

What it prints (run when this page was built)

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