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 · Juosan rules

JuosanDrawOptionstype

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

Import it

import type { JuosanDrawOptions } from "@johnmorrisdotca/kazu/juosan";

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

Definition

type JuosanDrawOptions = {
    marks?: JuosanGame["marks"];
    selected?: number | null;
    material?: JuosanMaterial;
    pieces?: JuosanPieces;
    language?: JuosanLanguage;
};

Members

NameTypeDescription
marks (optional)readonly JuosanMark[] | undefined
selected (optional)number | null | undefined
material (optional)JuosanMaterial | undefined
pieces (optional)JuosanPieces | undefined
language (optional)JuosanLanguage | undefined

Examples

import type { JuosanDrawOptions } from "@johnmorrisdotca/kazu/juosan";

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