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 · SVG grids

MeikyuuBoardLooktype

A board's colours: the paper, the walls, the frame, whether it is a dark board, and the line that shows on it when none is chosen.

Import it

import type { MeikyuuBoardLook } from "@johnmorrisdotca/meikyuu/draw";

Definition

type MeikyuuBoardLook = {
    paper: string;
    wall: string;
    frame: string;
    dark: boolean;
    trail: string;
};

Members

NameTypeDescription
paperstring
wallstring
framestring
darkboolean
trailstring

Examples

import type { MeikyuuBoardLook } from "@johnmorrisdotca/meikyuu/draw";
import { boardLookOf } from "@johnmorrisdotca/meikyuu/draw";

const value: MeikyuuBoardLook = boardLookOf("paper");
console.log(value);
{
  paper: '#fbf8f1',
  wall: '#1f2320',
  frame: '#a98954',
  dark: false,
  trail: '#2e8b57'
}

What it prints (run when this page was built)

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