本文へ移動

Kazu数

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

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

目次

リファレンス

四角に切れを遊ぶ

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

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

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

エクスポート

名前種類概要
mountShikaku関数A rectangle player in any element; mount once, update appearance with set, destroy on unmount.
SHIKAKU_PLAY_STYLE定数Scoped native Shikaku board and player CSS.
SHIKAKU_STRINGS定数Native English and Japanese labels and announcements for Shikaku.
ShikakuDrawOptions型Current Shikaku marks or entries, selection, errors and native SVG appearance choices.
ShikakuLanguage型The native English or Japanese display language for Shikaku.
ShikakuMaterial型A supported material of the native Shikaku board.
ShikakuMount型The mounted Shikaku game and progress, native controls and cleanup handle.
ShikakuMountOptions型The initial Shikaku board, native progress, appearance and host event callbacks.
ShikakuPieces型A supported native Shikaku mark or piece appearance.

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

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