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

Visible board models

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

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

Exports

NameKindWhat it is
boardModelfunctionWhere the cells sit, and what may be shown.
BoardModeltypeLayout and cell presentation returned by boardModel.
CellModeltypeAccessible presentation data for one active board cell.
DrawOptionstypeAppearance and optional hint marker used by drawing and play.
JIRAI_STYLEconstantScoped to one mounted board.

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