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 · Rules, generation and deductions

SHAPESconstant

Board silhouettes supported by settings.

Import it

import { SHAPES } from "@johnmorrisdotca/jirai";

Definition

const SHAPES: readonly ["rectangle", "heart", "star", "hexagon"] = ["rectangle", "heart", "star", "hexagon"] as const

Examples

import { SHAPES } from "@johnmorrisdotca/jirai";

console.log(SHAPES);
[ 'rectangle', 'heart', 'star', 'hexagon' ]

What it prints (run when this page was built)

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