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

SolidCellPlacetype

Where a cell is on the picture, in pixels from the top left of the box.

Import it

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

Definition

type SolidCellPlace = {
    x: number;
    y: number;
    visible: boolean;
    facing: number;
    room: number;
};

Members

NameTypeDescription
xnumber
ynumber
visibleboolean
facingnumber
roomnumber

Examples

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

const value: SolidCellPlace = {x:320,y:240,visible:true,facing:1,room:100};
console.log(value);
{ x: 320, y: 240, visible: true, facing: 1, room: 100 }

What it prints (run when this page was built)

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