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

YajilinCluetype

An arrow direction and the required number of shaded cells in its ray.

Import it

import type { YajilinClue } from "@johnmorrisdotca/kazu/yajilin";

Also exported from: @johnmorrisdotca/kazu

Definition

type YajilinClue = {
    direction: YajilinDirection;
    count: number;
};

Members

NameTypeDescription
directionYajilinDirection
countnumber

Examples

import type { YajilinClue } from "@johnmorrisdotca/kazu/yajilin";

const value: YajilinClue = {direction:"right",count:1};
console.log(value);
{ direction: 'right', count: 1 }

What it prints (run when this page was built)

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