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 · Loop player

LOOP_STRINGSconstant

Native English and Japanese labels and announcements for Loop.

Import it

import { LOOP_STRINGS } from "@johnmorrisdotca/kazu/loop/play";

Definition

const LOOP_STRINGS: { readonly en: { readonly title: "Loop"; readonly help: "Connect adjacent dots with horizontal and vertical edges to make one closed loop. Each number says how many of its four bordering edges are in the loop. Empty cells may have any number of edges. The loop cannot branch or split into separate loops. Click or tap an edge, or focus it and press Enter or Space. Arrow keys move between edges."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly expand: "Just the board"; readonly close: "Close"; readonly won: "One closed loop. Solved!"; readonly helped: "Solved with help."; readonly checked: "No rule conflicts so far. Keep drawing the loop."; readonly wrong: "Check the numbered cells, branches and loop connections."; readonly hintWhy: "This edge is part of the only proved loop."; readonly noHint: "No proved hint is available."; readonly row: "Row"; readonly column: "column"; readonly clue: "number"; readonly blank: "no number"; readonly edge: "edge"; }; readonly ja: { readonly title: "スリザーリンク"; readonly help: "点を縦横の線でつなぎ、一つの閉じた輪を作ります。数字はそのマスを囲む四辺のうち、輪になる辺の数です。数字のないマスは何辺でも構いません。輪を分岐させたり、別々の輪に分けたりしません。線をタップ、クリック、または選んでEnterかSpaceを押します。矢印キーで辺を移動します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確かめる"; readonly restart: "やり直す"; readonly expand: "盤だけ"; readonly close: "閉じる"; readonly won: "一つの輪ができました。完成!"; readonly helped: "ヒントを使って完成!"; readonly checked: "ここまでルールに合っています。輪を続けましょう。"; readonly wrong: "数字のマス、分岐、輪のつながりを確かめましょう。"; readonly hintWhy: "唯一の解答に含まれる辺です。"; readonly noHint: "確かなヒントがありません。"; readonly row: "行"; readonly column: "列"; readonly clue: "数字"; readonly blank: "数字なし"; readonly edge: "辺"; }; }

Members

NameTypeDescription
en{ readonly title: "Loop"; readonly help: "Connect adjacent dots with horizontal and vertical edges to make one closed loop. Each number says how many of its four bordering edges are in the loop. Empty cells may have any number of edges. The loop cannot branch or split into separate loops. Click or tap an edge, or focus it and press Enter or Space. Arrow keys move between edges."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly expand: "Just the board"; readonly close: "Close"; readonly won: "One closed loop. Solved!"; readonly helped: "Solved with help."; readonly checked: "No rule conflicts so far. Keep drawing the loop."; readonly wrong: "Check the numbered cells, branches and loop connections."; readonly hintWhy: "This edge is part of the only proved loop."; readonly noHint: "No proved hint is available."; readonly row: "Row"; readonly column: "column"; readonly clue: "number"; readonly blank: "no number"; readonly edge: "edge"; }
ja{ readonly title: "スリザーリンク"; readonly help: "点を縦横の線でつなぎ、一つの閉じた輪を作ります。数字はそのマスを囲む四辺のうち、輪になる辺の数です。数字のないマスは何辺でも構いません。輪を分岐させたり、別々の輪に分けたりしません。線をタップ、クリック、または選んでEnterかSpaceを押します。矢印キーで辺を移動します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確かめる"; readonly restart: "やり直す"; readonly expand: "盤だけ"; readonly close: "閉じる"; readonly won: "一つの輪ができました。完成!"; readonly helped: "ヒントを使って完成!"; readonly checked: "ここまでルールに合っています。輪を続けましょう。"; readonly wrong: "数字のマス、分岐、輪のつながりを確かめましょう。"; readonly hintWhy: "唯一の解答に含まれる辺です。"; readonly noHint: "確かなヒントがありません。"; readonly row: "行"; readonly column: "列"; readonly clue: "数字"; readonly blank: "数字なし"; readonly edge: "辺"; }

Examples

import { LOOP_STRINGS } from "@johnmorrisdotca/kazu/loop/play";

console.log(Object.keys(LOOP_STRINGS.en));
[
  'title',   'help',    'undo',
  'hint',    'check',   'restart',
  'expand',  'close',   'won',
  'helped',  'checked', 'wrong',
  'hintWhy', 'noHint',  'row',
  'column',  'clue',    'blank',
  'edge'
]

What it prints (run when this page was built)

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