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

MOVESconstant

Names for the moves accepted by the engine.

Import it

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

Definition

const MOVES: { readonly reveal: "reveal"; readonly mark: "mark"; readonly chord: "chord"; } = { reveal: "reveal", mark: "mark", chord: "chord" } as const

Members

NameTypeDescription
reveal"reveal"
mark"mark"
chord"chord"

Examples

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

console.log(MOVES);
{ reveal: 'reveal', mark: 'mark', chord: 'chord' }

What it prints (run when this page was built)

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