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

JUOSAN_STRINGSconstant

Native English and Japanese labels and announcements for Juosan.

Import it

import { JUOSAN_STRINGS } from "@johnmorrisdotca/kazu/juosan";

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

Definition

const JUOSAN_STRINGS: { readonly en: { readonly title: "Juosan"; readonly ready: "Fill every cell with a horizontal or vertical mark."; readonly won: "Solved."; readonly assisted: "Solved with a hint."; readonly help: "Click a cell to cycle through horizontal, vertical and empty. Press H / V to write; arrow keys move and Delete clears."; readonly undo: "Undo"; readonly hint: "Hint"; readonly restart: "Restart"; readonly check: "Check"; readonly checked: "The marks follow the rules."; readonly wrong: "Some marks break a territory clue or run rule."; readonly horizontal: "horizontal"; readonly vertical: "vertical"; readonly blank: "unmarked"; readonly row: "row"; readonly column: "column"; readonly hintWhy: "This mark follows the printed territory clue and line rules."; }; readonly ja: { readonly title: "じゅうさん"; readonly ready: "各マスに横線か縦線を入れます。"; readonly won: "できました。"; readonly assisted: "ヒントを使ってできました。"; readonly help: "マスをクリックすると、横線、縦線、空欄の順に切り替わります。H / V キーで記入し、矢印キーで移動、Delete で消します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly restart: "最初から"; readonly check: "確認"; readonly checked: "ルールに合っています。"; readonly wrong: "陣地の数字か線の並びを確認してください。"; readonly horizontal: "横線"; readonly vertical: "縦線"; readonly blank: "未記入"; readonly row: "行"; readonly column: "列"; readonly hintWhy: "この線は、陣地の数字と線のルールに合います。"; }; } = {
    en: {
        title: "Juosan",
        ready: "Fill every cell with a horizontal or vertical mark.",
        won: "Solved.",
        assisted: "Solved with a hint.",
        help: "Click a cell to cycle through horizontal, vertical and empty. Press H / V to write; arrow keys move and Delete clears.",
        undo: "Undo",
        hint: "Hint",
        restart: "Restart",
        check: "Check",
        checked: "The marks follow the rules.",
        wrong: "Some marks break a territory clue or run rule.",
        horizontal: "horizontal",
        vertical: "vertical",
        blank: "unmarked",
        row: "row",
        column: "column",
        hintWhy: "This mark follows the printed territory clue and line rules.",
    },
    ja: {
        title: "じゅうさん",
        ready: "各マスに横線か縦線を入れます。",
        won: "できました。",
        assisted: "ヒントを使ってできました。",
        help: "マスをクリックすると、横線、縦線、空欄の順に切り替わります。H / V キーで記入し、矢印キーで移動、Delete で消します。",
        undo: "戻す",
        hint: "ヒント",
        restart: "最初から",
        check: "確認",
        checked: "ルールに合っています。",
        wrong: "陣地の数字か線の並びを確認してください。",
        horizontal: "横線",
        vertical: "縦線",
        blank: "未記入",
        row: "行",
        column: "列",
        hintWhy: "この線は、陣地の数字と線のルールに合います。",
    },
} as const

Members

NameTypeDescription
en{ readonly title: "Juosan"; readonly ready: "Fill every cell with a horizontal or vertical mark."; readonly won: "Solved."; readonly assisted: "Solved with a hint."; readonly help: "Click a cell to cycle through horizontal, vertical and empty. Press H / V to write; arrow keys move and Delete clears."; readonly undo: "Undo"; readonly hint: "Hint"; readonly restart: "Restart"; readonly check: "Check"; readonly checked: "The marks follow the rules."; readonly wrong: "Some marks break a territory clue or run rule."; readonly horizontal: "horizontal"; readonly vertical: "vertical"; readonly blank: "unmarked"; readonly row: "row"; readonly column: "column"; readonly hintWhy: "This mark follows the printed territory clue and line rules."; }
ja{ readonly title: "じゅうさん"; readonly ready: "各マスに横線か縦線を入れます。"; readonly won: "できました。"; readonly assisted: "ヒントを使ってできました。"; readonly help: "マスをクリックすると、横線、縦線、空欄の順に切り替わります。H / V キーで記入し、矢印キーで移動、Delete で消します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly restart: "最初から"; readonly check: "確認"; readonly checked: "ルールに合っています。"; readonly wrong: "陣地の数字か線の並びを確認してください。"; readonly horizontal: "横線"; readonly vertical: "縦線"; readonly blank: "未記入"; readonly row: "行"; readonly column: "列"; readonly hintWhy: "この線は、陣地の数字と線のルールに合います。"; }

Examples

import { JUOSAN_STRINGS } from "@johnmorrisdotca/kazu/juosan";

console.log(Object.keys(JUOSAN_STRINGS.en));
[
  'title',    'ready',
  'won',      'assisted',
  'help',     'undo',
  'hint',     'restart',
  'check',    'checked',
  'wrong',    'horizontal',
  'vertical', 'blank',
  'row',      'column',
  'hintWhy'
]

What it prints (run when this page was built)

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