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

KAZU_KINDSconstant

THE SIX PUZZLES, and what each offers: the keys, the sizes and the levels.

A key is kebab case and is the name of the puzzle everywhere in this package: the address of one, the kind of a puzzle, the value of the element's kind attribute. itsutsu.com spelled the same six numberPlace, jigsaw, diagonal, sumCages, moreOrLess and towers; KAZU_KIND_OF_SITE_KIND maps one to the other.

Import it

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

Definition

const KAZU_KINDS: readonly ["number-place", "jigsaw", "diagonal", "sum-cages", "more-or-less", "towers"] = ["number-place", "jigsaw", "diagonal", "sum-cages", "more-or-less", "towers"] as const

Examples

import { KAZU_KINDS } from "@johnmorrisdotca/kazu";
console.log(KAZU_KINDS);
[
  'number-place',
  'jigsaw',
  'diagonal',
  'sum-cages',
  'more-or-less',
  'towers'
]

What it prints (run when this page was built)

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