本文へ移動

Kazu数

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

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

目次

リファレンス

ひとりにしてくれを遊ぶ

import { … } from "@johnmorrisdotca/kazu/hitori/play";

最小化と gzip 圧縮をしたサイズは 6.3 kB(読み込むものをすべて含み、esbuild で計測)

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

エクスポート

名前種類概要
HITORI_PLAY_STYLE定数Scoped native Hitori board and player CSS.
HITORI_STRINGS定数Native English and Japanese labels and announcements for Hitori.
HitoriDrawOptions型Current Hitori marks or entries, selection, errors and native SVG appearance choices.
HitoriLanguage型The native English or Japanese display language for Hitori.
HitoriMaterial型A supported material of the native Hitori board.
HitoriMount型The mounted Hitori game and progress, native controls and cleanup handle.
HitoriMountOptions型The initial Hitori board, native progress, appearance and host event callbacks.
HitoriPieces型A supported native Hitori mark or piece appearance.
mountHitori関数A keyboard- and touch-friendly Hitori player, mounted in any host element.

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

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