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 surface mazes

ensureSolidStylefunction

Put the style of the solid in the page once, beside the board's.

Import it

import { ensureSolidStyle } from "@johnmorrisdotca/meikyuu/3d/play";

Definition

function ensureSolidStyle(host: Element): void

Parameters

NameTypeDescription
hostElement

The DOM host receiving the native player or styles.

Examples

import { ensureSolidStyle } from "@johnmorrisdotca/meikyuu/3d/play";

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

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