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 · Cross Sums rules

CrossSumsCelltype

A white digit cell or a black clue cell with optional across/down totals.

Import it

import type { CrossSumsCell } from "@johnmorrisdotca/kazu/cross-sums";

Also exported from: @johnmorrisdotca/kazu

Definition

type CrossSumsCell = {
    kind: "white";
} | {
    kind: "black";
    across: number | null;
    down: number | null;
};

Examples

import type { CrossSumsCell } from "@johnmorrisdotca/kazu/cross-sums";

const value: CrossSumsCell = {kind:"white"};
console.log(value);
{ kind: 'white' }

What it prints (run when this page was built)

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