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

STATUSESconstant

Names for the game lifecycle states.

Import it

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

Definition

const STATUSES: { readonly ready: "ready"; readonly playing: "playing"; readonly won: "won"; readonly lost: "lost"; } = { ready: "ready", playing: "playing", won: "won", lost: "lost" } as const

Members

NameTypeDescription
ready"ready"
playing"playing"
won"won"
lost"lost"

Examples

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

console.log(STATUSES);
{ ready: 'ready', playing: 'playing', won: 'won', lost: 'lost' }

What it prints (run when this page was built)

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