この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。
import { buildMaze, measureMaze } from "@johnmorrisdotca/meikyuu";buildMaze({ shape: "heart", w: 25, h: 25, algorithm: "wilson", mode: "to-goal", seed: 5 }) // the same maze everywheremeasureMaze(maze).effort // how many cells a person draws to solve itimport { MEIKYUU_MAZE_LEVELS } from "@johnmorrisdotca/meikyuu/levels"; // 1,000 recipes, easiest firstdrawMaze(maze, { path, hint, board: "wood" }) // the maze as SVG textmountMeikyuu(element, { kind: "maze", level: 12, tap: true }) // a board to play, by touch and mouse<meikyuu-board kind="arrows" level="5" board="wood"></meikyuu-board>tapArrow(game, id) // an arrow slides off, or bumps and costs a heart