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 · Ripple Effect rules

RippleDrawOptionstype

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

Import it

import type { RippleDrawOptions } from "@johnmorrisdotca/kazu/ripple";

Also exported from: @johnmorrisdotca/kazu/ripple/play, @johnmorrisdotca/kazu/ripple/draw, @johnmorrisdotca/kazu

Definition

type RippleDrawOptions = {
    values?: readonly number[];
    notes?: readonly (readonly number[])[];
    errors?: readonly number[];
    selected?: number | null;
    material?: RippleMaterial;
    pieces?: RipplePieces;
    language?: RippleLanguage;
};

Members

NameTypeDescription
values (optional)readonly number[] | undefined
notes (optional)readonly (readonly number[])[] | undefined
errors (optional)readonly number[] | undefined
selected (optional)number | null | undefined
material (optional)RippleMaterial | undefined
pieces (optional)RipplePieces | undefined
language (optional)RippleLanguage | undefined

Examples

import type { RippleDrawOptions } from "@johnmorrisdotca/kazu/ripple";

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