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 · Hitori player

HitoriDrawOptionstype

Current Hitori marks or entries, selection, errors and native SVG appearance choices.

Import it

import type { HitoriDrawOptions } from "@johnmorrisdotca/kazu/hitori/play";

Also exported from: @johnmorrisdotca/kazu/hitori/draw

Definition

type HitoriDrawOptions = {
    shaded?: readonly boolean[];
    selected?: number | null;
    errors?: readonly number[];
    material?: HitoriMaterial;
    pieces?: HitoriPieces;
    language?: HitoriLanguage;
};

Members

NameTypeDescription
shaded (optional)readonly boolean[] | undefined
selected (optional)number | null | undefined
errors (optional)readonly number[] | undefined
material (optional)HitoriMaterial | undefined
pieces (optional)HitoriPieces | undefined
language (optional)HitoriLanguage | undefined

Examples

import type { HitoriDrawOptions } from "@johnmorrisdotca/kazu/hitori/play";

const value: HitoriDrawOptions = {language:"en"};
console.log(value);
{ language: 'en' }

What it prints (run when this page was built)

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