Skip to the content

Jirai地雷

Deal seeded minefields, prove hints from visible clues and mount square, orthogonal, hexagonal or wraparound boards.

Jirai is the Japanese word 地雷 for a land mine. About the name

Contents

Reference

Native Minesweeper player

import { … } from "@johnmorrisdotca/jirai/play";

12.2 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
JiraiMounttypeControls for reading and operating a mounted board.
mountJiraifunctionOne playable board in any element.
MountOptionstypeInitial game, appearance, control, and lifecycle callbacks for a mounted board.
STRINGSconstantBuilt-in English and Japanese strings used by the player and renderer.

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jirai 0.5.0.