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

Movetype

A reveal, mark-cycle, or numbered-cell chord applied to a game.

Import it

import type { Move } from "@johnmorrisdotca/jirai";

Definition

type Move = {
    kind: "reveal" | "mark" | "chord";
    cell: number;
};

Members

NameTypeDescription
kind"mark" | "reveal" | "chord"
cellnumber

Examples

import type { Move } from "@johnmorrisdotca/jirai";

const value: Move = {kind:"reveal",cell:0};
console.log(value);
{ kind: 'reveal', cell: 0 }

What it prints (run when this page was built)

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