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 · Minesweeper element

JIRAI_EMBED_OPTION_KEYSconstant

The real mounted options, checked by TypeScript and the builder.

Import it

import { JIRAI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/jirai/element";

Also exported from: @johnmorrisdotca/jirai/element/define

Definition

const JIRAI_EMBED_OPTION_KEYS: string[] = Object.keys({ settings: true, progress: true, controls: true, material: true, pieces: true, language: true, hint: true, onChange: true, onFinish: true, onError: true } satisfies Record<keyof MountOptions, boolean>)

Examples

import { JIRAI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/jirai/element";
console.log(typeof JIRAI_EMBED_OPTION_KEYS); // object
object

What it prints (run when this page was built)

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