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 · Number-grid SVG

kazuNameOffunction

What a puzzle is called in a language, as a screen reader says it.

Import it

import { kazuNameOf } from "@johnmorrisdotca/kazu/draw";

Definition

function kazuNameOf(kind: KazuKind, language: KazuLanguage): string

Parameters

NameTypeDescription
kind"number-place" | "jigsaw" | "diagonal" | "sum-cages" | "more-or-less" | "towers"

The native number-grid puzzle key.

languageKazuLanguage

The native English or Japanese display language.

Returns

string

What a puzzle is called in a language, as a screen reader says it.

Examples

import { kazuNameOf } from "@johnmorrisdotca/kazu/draw";

console.log(kazuNameOf("number-place","en"));
Sudoku

What it prints (run when this page was built)

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