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

NurikabeDrawOptionstype

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

Import it

import type { NurikabeDrawOptions } from "@johnmorrisdotca/kazu/nurikabe/play";

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

Definition

type NurikabeDrawOptions = {
    sea?: readonly boolean[];
    selected?: number | null;
    errors?: readonly number[];
    material?: NurikabeMaterial;
    pieces?: NurikabePieces;
    language?: NurikabeLanguage;
};

Members

NameTypeDescription
sea (optional)readonly boolean[] | undefined
selected (optional)number | null | undefined
errors (optional)readonly number[] | undefined
material (optional)NurikabeMaterial | undefined
pieces (optional)NurikabePieces | undefined
language (optional)NurikabeLanguage | undefined

Examples

import type { NurikabeDrawOptions } from "@johnmorrisdotca/kazu/nurikabe/play";

const value: NurikabeDrawOptions = {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.