Skip to the content

Meikyuu迷宮

Generate seeded mazes and arrow puzzles, follow numbered levels, and play on flat grids or three-dimensional surfaces.

Meikyuu is the Japanese word 迷宮 for labyrinth. About the name

Contents

Reference · Playable boards

ensureMeikyuuPlayStylefunction

Put the style in the page once: in the document's head, or in the shadow root the host is in.

Import it

import { ensureMeikyuuPlayStyle } from "@johnmorrisdotca/meikyuu/play";

Definition

function ensureMeikyuuPlayStyle(host: Element): void

Parameters

NameTypeDescription
hostElement

The DOM host receiving the native player or styles.

Examples

import { ensureMeikyuuPlayStyle } from "@johnmorrisdotca/meikyuu/play";

const host = document.createElement("div");
ensureMeikyuuPlayStyle(host);
console.log(host.tagName);

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/meikyuu 3.2.0.