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

ProofTallytype

Cells proved by each kind of reasoning.

Import it

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

Definition

type ProofTally = Record<ProofKind, number>;

Members

NameTypeDescription
countnumber
overlapnumber
totalnumber
enumerationnumber

Examples

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

const value: ProofTally = {count:0,overlap:0,total:0,enumeration:0};
console.log(value);
{ count: 0, overlap: 0, total: 0, enumeration: 0 }

What it prints (run when this page was built)

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