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 · Tall maze levels

MEIKYUU_TALL_SIZESconstant

The sizes: their number, how many cells across, and the squares' columns and rows ("6×9").

Import it

import { MEIKYUU_TALL_SIZES } from "@johnmorrisdotca/meikyuu/levels/tall";

Definition

const MEIKYUU_TALL_SIZES: readonly { readonly size: number; readonly width: number; readonly height: number; readonly label: string; }[] = TALL_WIDTHS.map((width, index) => ({ size: index + 1, width, height: Math.round(width * 1.5), label: `${width}×${Math.round(width * 1.5)}` }))

Examples

import { MEIKYUU_TALL_SIZES } from "@johnmorrisdotca/meikyuu/levels/tall";
console.log(MEIKYUU_TALL_SIZES);
[
  { size: 1, width: 6, height: 9, label: '6×9' },
  { size: 2, width: 8, height: 12, label: '8×12' },
  { size: 3, width: 10, height: 15, label: '10×15' },
  { size: 4, width: 12, height: 18, label: '12×18' },
  { size: 5, width: 16, height: 24, label: '16×24' },
  { size: 6, width: 20, height: 30, label: '20×30' }
]

What it prints (run when this page was built)

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