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

mountMeikyuufunction

Draw a puzzle into host and play it. Returns the handle that drives it, or null for a level or recipe that is none.

Import it

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

Definition

function mountMeikyuu(host: HTMLElement, options?: MeikyuuMountOptions): MeikyuuMount | null

Parameters

NameTypeDescription
hostHTMLElement

The HTMLElement that owns the native interface.

options (optional)MeikyuuMountOptions

Native settings and callbacks for this mounted interface.

Returns

MeikyuuMount | null

The native mounted handle, or null for unsupported settings.

Examples

import { mountMeikyuu } from "@johnmorrisdotca/meikyuu/play";
const show = (host: HTMLElement, options: Parameters<typeof mountMeikyuu>[1]) => mountMeikyuu(host, options);
console.log(typeof show); // function
function

What it prints (run when this page was built)

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