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

LEVEL_ALIASESconstant

The 0.1 and 0.2 names for the first three levels. They are still accepted wherever a level is.

Import it

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

Definition

const LEVEL_ALIASES: { readonly beginner: "easy"; readonly intermediate: "medium"; readonly expert: "hard"; } = { beginner: "easy", intermediate: "medium", expert: "hard" } as const

Members

NameTypeDescription
beginner"easy"
intermediate"medium"
expert"hard"

Examples

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

console.log(LEVEL_ALIASES);
{ beginner: 'easy', intermediate: 'medium', expert: 'hard' }

What it prints (run when this page was built)

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