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

NURIKABE_STRINGSconstant

Native English and Japanese labels and announcements for Nurikabe.

Import it

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

Definition

const NURIKABE_STRINGS: { readonly en: { readonly title: "Nurikabe"; readonly help: "Shade cells to build one connected wall. Black cells cannot form a 2×2 square. Each remaining white region contains one number and has that exact area. Tap or press Space to shade; arrows move."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly won: "Solved!"; readonly helped: "Solved with help."; readonly wrong: "Some rules are broken."; readonly good: "No rule errors yet. Keep going."; readonly noHint: "No proved hint is available."; readonly row: "Row"; readonly column: "column"; readonly sea: "sea"; readonly white: "island"; }; readonly ja: { readonly title: "ぬりかべ"; readonly help: "黒マスをつなげて一つの壁にします。黒マスで2×2の四角形を作れません。白い島には数字が一つだけあり、島の面積はその数字と同じです。マスを押すかスペースで黒くし、矢印キーで移動します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確認"; readonly restart: "やり直す"; readonly won: "完成!"; readonly helped: "ヒントを使って完成。"; readonly wrong: "ルールに合わないところがあります。"; readonly good: "今のところルール違反はありません。"; readonly noHint: "確かなヒントはありません。"; readonly row: "行"; readonly column: "列"; readonly sea: "海"; readonly white: "島"; }; } = {
    en: { title: "Nurikabe", help: "Shade cells to build one connected wall. Black cells cannot form a 2×2 square. Each remaining white region contains one number and has that exact area. Tap or press Space to shade; arrows move.", undo: "Undo", hint: "Hint", check: "Check", restart: "Restart", won: "Solved!", helped: "Solved with help.", wrong: "Some rules are broken.", good: "No rule errors yet. Keep going.", noHint: "No proved hint is available.", row: "Row", column: "column", sea: "sea", white: "island" },
    ja: { title: "ぬりかべ", help: "黒マスをつなげて一つの壁にします。黒マスで2×2の四角形を作れません。白い島には数字が一つだけあり、島の面積はその数字と同じです。マスを押すかスペースで黒くし、矢印キーで移動します。", undo: "戻す", hint: "ヒント", check: "確認", restart: "やり直す", won: "完成!", helped: "ヒントを使って完成。", wrong: "ルールに合わないところがあります。", good: "今のところルール違反はありません。", noHint: "確かなヒントはありません。", row: "行", column: "列", sea: "海", white: "島" },
} as const

Members

NameTypeDescription
en{ readonly title: "Nurikabe"; readonly help: "Shade cells to build one connected wall. Black cells cannot form a 2×2 square. Each remaining white region contains one number and has that exact area. Tap or press Space to shade; arrows move."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly won: "Solved!"; readonly helped: "Solved with help."; readonly wrong: "Some rules are broken."; readonly good: "No rule errors yet. Keep going."; readonly noHint: "No proved hint is available."; readonly row: "Row"; readonly column: "column"; readonly sea: "sea"; readonly white: "island"; }
ja{ readonly title: "ぬりかべ"; readonly help: "黒マスをつなげて一つの壁にします。黒マスで2×2の四角形を作れません。白い島には数字が一つだけあり、島の面積はその数字と同じです。マスを押すかスペースで黒くし、矢印キーで移動します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確認"; readonly restart: "やり直す"; readonly won: "完成!"; readonly helped: "ヒントを使って完成。"; readonly wrong: "ルールに合わないところがあります。"; readonly good: "今のところルール違反はありません。"; readonly noHint: "確かなヒントはありません。"; readonly row: "行"; readonly column: "列"; readonly sea: "海"; readonly white: "島"; }

Examples

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

console.log(Object.keys(NURIKABE_STRINGS.en));
[
  'title',  'help',
  'undo',   'hint',
  'check',  'restart',
  'won',    'helped',
  'wrong',  'good',
  'noHint', 'row',
  'column', 'sea',
  'white'
]

What it prints (run when this page was built)

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