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 · Cross Sums rules

CROSS_SUMS_STRINGSconstant

Native English and Japanese labels and announcements for CrossSums.

Import it

import { CROSS_SUMS_STRINGS } from "@johnmorrisdotca/kazu/cross-sums";

Also exported from: @johnmorrisdotca/kazu/cross-sums/play, @johnmorrisdotca/kazu

Definition

const CROSS_SUMS_STRINGS: { readonly en: { readonly title: "Cross Sums"; readonly help: "Fill each white cell with 1–9. Digits in each across or down run add to its clue and cannot repeat. Arrows move; type a digit or use the number pad; P toggles pencil marks."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly ready: "Choose a white cell."; readonly won: "Every run is correct. Solved!"; readonly helped: "Solved with help."; readonly checked: "No run errors so far. Keep filling."; readonly wrong: "Some runs have a repeated digit or impossible total."; readonly across: "Across"; readonly down: "Down"; readonly pencil: "Pencil marks"; readonly row: "Row"; readonly column: "column"; readonly blank: "blank"; readonly clear: "Clear"; }; readonly ja: { readonly title: "カックロ"; readonly help: "白マスに1〜9を入れます。横または縦の連続した数字はヒントの合計になり、同じ数字は使えません。矢印または数字パッドで入力、Pでメモを切り替えます。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確認"; readonly restart: "やり直す"; readonly ready: "白マスを選んでください。"; readonly won: "すべての合計が合いました。完成!"; readonly helped: "ヒントを使って完成!"; readonly checked: "ここまでの合計に誤りはありません。続けてください。"; readonly wrong: "同じ数字または合計の誤りがあります。"; readonly across: "横"; readonly down: "縦"; readonly pencil: "メモ"; readonly row: "行"; readonly column: "列"; readonly blank: "空白"; readonly clear: "消す"; }; } = {
    en: { title: "Cross Sums", help: "Fill each white cell with 1–9. Digits in each across or down run add to its clue and cannot repeat. Arrows move; type a digit or use the number pad; P toggles pencil marks.", undo: "Undo", hint: "Hint", check: "Check", restart: "Restart", ready: "Choose a white cell.", won: "Every run is correct. Solved!", helped: "Solved with help.", checked: "No run errors so far. Keep filling.", wrong: "Some runs have a repeated digit or impossible total.", across: "Across", down: "Down", pencil: "Pencil marks", row: "Row", column: "column", blank: "blank", clear: "Clear" },
    ja: { title: "カックロ", help: "白マスに1〜9を入れます。横または縦の連続した数字はヒントの合計になり、同じ数字は使えません。矢印または数字パッドで入力、Pでメモを切り替えます。", undo: "戻す", hint: "ヒント", check: "確認", restart: "やり直す", ready: "白マスを選んでください。", won: "すべての合計が合いました。完成!", helped: "ヒントを使って完成!", checked: "ここまでの合計に誤りはありません。続けてください。", wrong: "同じ数字または合計の誤りがあります。", across: "横", down: "縦", pencil: "メモ", row: "行", column: "列", blank: "空白", clear: "消す" }
} as const

Members

NameTypeDescription
en{ readonly title: "Cross Sums"; readonly help: "Fill each white cell with 1–9. Digits in each across or down run add to its clue and cannot repeat. Arrows move; type a digit or use the number pad; P toggles pencil marks."; readonly undo: "Undo"; readonly hint: "Hint"; readonly check: "Check"; readonly restart: "Restart"; readonly ready: "Choose a white cell."; readonly won: "Every run is correct. Solved!"; readonly helped: "Solved with help."; readonly checked: "No run errors so far. Keep filling."; readonly wrong: "Some runs have a repeated digit or impossible total."; readonly across: "Across"; readonly down: "Down"; readonly pencil: "Pencil marks"; readonly row: "Row"; readonly column: "column"; readonly blank: "blank"; readonly clear: "Clear"; }
ja{ readonly title: "カックロ"; readonly help: "白マスに1〜9を入れます。横または縦の連続した数字はヒントの合計になり、同じ数字は使えません。矢印または数字パッドで入力、Pでメモを切り替えます。"; readonly undo: "戻す"; readonly hint: "ヒント"; readonly check: "確認"; readonly restart: "やり直す"; readonly ready: "白マスを選んでください。"; readonly won: "すべての合計が合いました。完成!"; readonly helped: "ヒントを使って完成!"; readonly checked: "ここまでの合計に誤りはありません。続けてください。"; readonly wrong: "同じ数字または合計の誤りがあります。"; readonly across: "横"; readonly down: "縦"; readonly pencil: "メモ"; readonly row: "行"; readonly column: "列"; readonly blank: "空白"; readonly clear: "消す"; }

Examples

import { CROSS_SUMS_STRINGS } from "@johnmorrisdotca/kazu/cross-sums";

console.log(Object.keys(CROSS_SUMS_STRINGS.en));
[
  'title',   'help',   'undo',
  'hint',    'check',  'restart',
  'ready',   'won',    'helped',
  'checked', 'wrong',  'across',
  'down',    'pencil', 'row',
  'column',  'blank',  'clear'
]

What it prints (run when this page was built)

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