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 · Numbered puzzle levels

MeikyuuArrowLeveltype

A numbered arrow-puzzle recipe and its native difficulty metadata.

Import it

import type { MeikyuuArrowLevel } from "@johnmorrisdotca/meikyuu/levels";

Definition

type MeikyuuArrowLevel = Base & {
    readonly kind: "arrows";
    readonly recipe: ArrowRecipe;
};

Members

NameTypeDescription
numbernumber

Its place in its own list, from 1.

codestring

The recipe as one short word.

effortnumber

What it measures (see measureMaze, measureArrows, measureMixed).

ratingnumber

The effort as a rating from 1 to 100 on the scale of the maze list.

kind"arrows"
recipeArrowRecipe

Examples

import type { MeikyuuArrowLevel } from "@johnmorrisdotca/meikyuu/levels";
import { levelOf } from "@johnmorrisdotca/meikyuu/levels";

const value: MeikyuuArrowLevel = levelOf("arrows",1)!;
console.log(value);
{
  kind: 'arrows',
  number: 1,
  code: 'square:3x3:4:5007',
  effort: 8,
  rating: 1,
  recipe: { shape: 'square', w: 3, h: 3, longest: 4, seed: 5007 }
}

What it prints (run when this page was built)

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