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

LEVELSconstant

The four difficulty levels, easiest first. Each is a larger and denser field than the one before.

Import it

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

Definition

const LEVELS: readonly ["easy", "medium", "hard", "extra-hard"] = ["easy", "medium", "hard", "extra-hard"] as const

Examples

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

console.log(LEVELS);
[ 'easy', 'medium', 'hard', 'extra-hard' ]

What it prints (run when this page was built)

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