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

EMPTY_CELLconstant

A GRID OF NUMBERS AS A STRING: for an address, a POST body, and a kept run.

Row-major, one character per cell: a digit for a value, . for an empty cell. Past nine the values are letters, A for 10 up to G for 16 as a 16×16 Sudoku is printed, and on to P for 25 on a 25×25 (symbolOf), so one character is still one cell. Upper case only in a code, so one grid has one spelling. These are the spellings itsutsu.com has always stored, and they decode here unchanged.

Import it

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

Definition

const EMPTY_CELL: "." = "."

Examples

import { EMPTY_CELL } from "@johnmorrisdotca/kazu";
console.log(EMPTY_CELL);
.

What it prints (run when this page was built)

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