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

ProofKindtype

Why a cell was proved: one clue, two overlapping clues, the mine counter, or every arrangement of a small frontier.

Import it

import type { ProofKind } from "@johnmorrisdotca/jirai";

Definition

type ProofKind = "count" | "overlap" | "total" | "enumeration";

Examples

import type { ProofKind } from "@johnmorrisdotca/jirai";

const value: ProofKind = "count";
console.log(value);
count

What it prints (run when this page was built)

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