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

MARKSconstant

Names for the cell mark cycle.

Import it

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

Definition

const MARKS: { readonly covered: "covered"; readonly flag: "flag"; readonly question: "question"; readonly open: "open"; } = { covered: "covered", flag: "flag", question: "question", open: "open" } as const

Members

NameTypeDescription
covered"covered"
flag"flag"
question"question"
open"open"

Examples

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

console.log(MARKS);
{
  covered: 'covered',
  flag: 'flag',
  question: 'question',
  open: 'open'
}

What it prints (run when this page was built)

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