Reference
Nurikabe player
import { … } from "@johnmorrisdotca/kazu/nurikabe/play";
5.3 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
mountNurikabe | function | A keyboard- and touch-friendly Nurikabe player, mounted in any host element. |
NURIKABE_PLAY_STYLE | constant | Scoped native Nurikabe board and player CSS. |
NURIKABE_STRINGS | constant | Native English and Japanese labels and announcements for Nurikabe. |
NurikabeDrawOptions | type | Current Nurikabe marks or entries, selection, errors and native SVG appearance choices. |
NurikabeLanguage | type | The native English or Japanese display language for Nurikabe. |
NurikabeMaterial | type | A supported material of the native Nurikabe board. |
NurikabeMount | type | The mounted Nurikabe game and progress, native controls and cleanup handle. |
NurikabeMountOptions | type | The initial Nurikabe board, native progress, appearance and host event callbacks. |
NurikabePieces | type | A supported native Nurikabe mark or piece appearance. |