Reference
Hitori player
import { … } from "@johnmorrisdotca/kazu/hitori/play";
6.3 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
HITORI_PLAY_STYLE | constant | Scoped native Hitori board and player CSS. |
HITORI_STRINGS | constant | Native English and Japanese labels and announcements for Hitori. |
HitoriDrawOptions | type | Current Hitori marks or entries, selection, errors and native SVG appearance choices. |
HitoriLanguage | type | The native English or Japanese display language for Hitori. |
HitoriMaterial | type | A supported material of the native Hitori board. |
HitoriMount | type | The mounted Hitori game and progress, native controls and cleanup handle. |
HitoriMountOptions | type | The initial Hitori board, native progress, appearance and host event callbacks. |
HitoriPieces | type | A supported native Hitori mark or piece appearance. |
mountHitori | function | A keyboard- and touch-friendly Hitori player, mounted in any host element. |