本文へ移動

Kazu数

検証済みの数独や論理パズルを作り、標準の規則とヒントを読み、盤を描いたり埋め込んだりできます。

「数」は数字を表す言葉です。 名前について(英語)

目次

リファレンス · 領域を遊ぶ

REGIONS_STRINGS定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

Native English and Japanese labels and announcements for Regions.

インポート

import { REGIONS_STRINGS } from "@johnmorrisdotca/kazu/regions/play";

定義

const REGIONS_STRINGS: { readonly en: { readonly title: "Regions"; readonly help: "Fill every cell with a number. Connected regions of equal numbers must have exactly that many cells. Regions of the same size cannot touch. Arrow keys move; type a number to fill a cell. Clear removes your entry."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly selectNumber: "Number"; readonly fill: "Enter"; readonly clear: "Clear"; readonly selected: "Selected"; readonly row: "Row"; readonly column: "column"; readonly empty: "empty"; readonly clue: "given"; readonly filled: "filled"; readonly checked: "The filled regions follow the rules so far."; readonly wrong: "Some regions are too large or a clue was changed."; readonly remaining: "Keep filling the empty cells."; readonly solved: "Every region has the right size. Solved!"; readonly helped: "Solved with a hint."; readonly hintWhy: "This cell follows from the only complete solution."; readonly noHint: "No proved hint is available from the current entries."; readonly restored: "Progress restored."; }; readonly ja: { readonly title: "フィロミノ"; readonly help: "すべてのマスに数字を入れます。同じ数字が上下左右につながった領域のマス数は、その数字と同じです。同じ大きさの領域は辺で接しません。矢印キーで移動し、数字を入力します。消去で入力を消します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確かめる"; readonly restart: "やり直す"; readonly selectNumber: "数字"; readonly fill: "入力"; readonly clear: "消去"; readonly selected: "選択中"; readonly row: "行"; readonly column: "列"; readonly empty: "空き"; readonly clue: "ヒント"; readonly filled: "入力済み"; readonly checked: "ここまでの領域はルールに合っています。"; readonly wrong: "大きすぎる領域か、変更されたヒントがあります。"; readonly remaining: "空きマスを埋めましょう。"; readonly solved: "すべての領域の大きさが合いました。完成!"; readonly helped: "ヒントを使って完成!"; readonly hintWhy: "唯一の完成形から、このマスが決まります。"; readonly noHint: "現在の入力から確かなヒントを出せません。"; readonly restored: "続きから再開しました。"; }; } = {
    en: {
        title: "Regions", help: "Fill every cell with a number. Connected regions of equal numbers must have exactly that many cells. Regions of the same size cannot touch. Arrow keys move; type a number to fill a cell. Clear removes your entry.",
        undo: "Undo", hint: "Hint", check: "Check", restart: "Restart", selectNumber: "Number", fill: "Enter", clear: "Clear", selected: "Selected", row: "Row", column: "column", empty: "empty", clue: "given", filled: "filled", checked: "The filled regions follow the rules so far.", wrong: "Some regions are too large or a clue was changed.", remaining: "Keep filling the empty cells.", solved: "Every region has the right size. Solved!", helped: "Solved with a hint.", hintWhy: "This cell follows from the only complete solution.", noHint: "No proved hint is available from the current entries.", restored: "Progress restored.",
    },
    ja: {
        title: "フィロミノ", help: "すべてのマスに数字を入れます。同じ数字が上下左右につながった領域のマス数は、その数字と同じです。同じ大きさの領域は辺で接しません。矢印キーで移動し、数字を入力します。消去で入力を消します。",
        undo: "戻す", hint: "ヒント", check: "確かめる", restart: "やり直す", selectNumber: "数字", fill: "入力", clear: "消去", selected: "選択中", row: "行", column: "列", empty: "空き", clue: "ヒント", filled: "入力済み", checked: "ここまでの領域はルールに合っています。", wrong: "大きすぎる領域か、変更されたヒントがあります。", remaining: "空きマスを埋めましょう。", solved: "すべての領域の大きさが合いました。完成!", helped: "ヒントを使って完成!", hintWhy: "唯一の完成形から、このマスが決まります。", noHint: "現在の入力から確かなヒントを出せません。", restored: "続きから再開しました。",
    },
} as const

メンバー

名前型説明
en{ readonly title: "Regions"; readonly help: "Fill every cell with a number. Connected regions of equal numbers must have exactly that many cells. Regions of the same size cannot touch. Arrow keys move; type a number to fill a cell. Clear removes your entry."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly selectNumber: "Number"; readonly fill: "Enter"; readonly clear: "Clear"; readonly selected: "Selected"; readonly row: "Row"; readonly column: "column"; readonly empty: "empty"; readonly clue: "given"; readonly filled: "filled"; readonly checked: "The filled regions follow the rules so far."; readonly wrong: "Some regions are too large or a clue was changed."; readonly remaining: "Keep filling the empty cells."; readonly solved: "Every region has the right size. Solved!"; readonly helped: "Solved with a hint."; readonly hintWhy: "This cell follows from the only complete solution."; readonly noHint: "No proved hint is available from the current entries."; readonly restored: "Progress restored."; }
ja{ readonly title: "フィロミノ"; readonly help: "すべてのマスに数字を入れます。同じ数字が上下左右につながった領域のマス数は、その数字と同じです。同じ大きさの領域は辺で接しません。矢印キーで移動し、数字を入力します。消去で入力を消します。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確かめる"; readonly restart: "やり直す"; readonly selectNumber: "数字"; readonly fill: "入力"; readonly clear: "消去"; readonly selected: "選択中"; readonly row: "行"; readonly column: "列"; readonly empty: "空き"; readonly clue: "ヒント"; readonly filled: "入力済み"; readonly checked: "ここまでの領域はルールに合っています。"; readonly wrong: "大きすぎる領域か、変更されたヒントがあります。"; readonly remaining: "空きマスを埋めましょう。"; readonly solved: "すべての領域の大きさが合いました。完成!"; readonly helped: "ヒントを使って完成!"; readonly hintWhy: "唯一の完成形から、このマスが決まります。"; readonly noHint: "現在の入力から確かなヒントを出せません。"; readonly restored: "続きから再開しました。"; }

例

import { REGIONS_STRINGS } from "@johnmorrisdotca/kazu/regions/play";

console.log(Object.keys(REGIONS_STRINGS.en));
[
  'title',        'help',
  'undo',         'hint',
  'check',        'restart',
  'selectNumber', 'fill',
  'clear',        'selected',
  'row',          'column',
  'empty',        'clue',
  'filled',       'checked',
  'wrong',        'remaining',
  'solved',       'helped',
  'hintWhy',      'noHint',
  'restored'
]

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/kazu 2.1.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。