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)