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_KIND_OF_SITE_KINDconstant

The names itsutsu.com gave the six in its code, to the keys here: what a site's stored kind becomes.

Import it

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

Definition

const KAZU_KIND_OF_SITE_KIND: Record<string, "number-place" | "jigsaw" | "diagonal" | "sum-cages" | "more-or-less" | "towers"> = {
    numberPlace: "number-place",
    jigsaw: "jigsaw",
    diagonal: "diagonal",
    sumCages: "sum-cages",
    moreOrLess: "more-or-less",
    towers: "towers",
}

Examples

import { KAZU_KIND_OF_SITE_KIND } from "@johnmorrisdotca/kazu";
console.log(KAZU_KIND_OF_SITE_KIND);
{
  numberPlace: 'number-place',
  jigsaw: 'jigsaw',
  diagonal: 'diagonal',
  sumCages: 'sum-cages',
  moreOrLess: 'more-or-less',
  towers: 'towers'
}

What it prints (run when this page was built)

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