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 · Mazes, arrows and mixed boards

MEIKYUU_SHAPESconstant

Every shape a maze can be made on.

Import it

import { MEIKYUU_SHAPES } from "@johnmorrisdotca/meikyuu";

Definition

const MEIKYUU_SHAPES: readonly ["square", "hex", "triangle", "circle", "heart", "leaf", "star", "ring", "diamond", "cross", "moon", "hexagon", "pyramid"] = ["square", "hex", "triangle", "circle", "heart", "leaf", "star", "ring", "diamond", "cross", "moon", "hexagon", "pyramid"] as const

Examples

import { MEIKYUU_SHAPES } from "@johnmorrisdotca/meikyuu";
console.log(MEIKYUU_SHAPES);
[
  'square',   'hex',
  'triangle', 'circle',
  'heart',    'leaf',
  'star',     'ring',
  'diamond',  'cross',
  'moon',     'hexagon',
  'pyramid'
]

What it prints (run when this page was built)

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