この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。
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,024 recipes: four sizes of 256, each a little harder level by levelimport { MEIKYUU_TALL_LEVELS } from "@johnmorrisdotca/meikyuu/levels/tall"; // 1,536 portrait mazes for a phone held uprightimport { MEIKYUU_COLOSSAL_LEVELS } from "@johnmorrisdotca/meikyuu/levels/colossal"; // 128 mazes of about ten thousand cells, and 128 tall onesmountMeikyuu(element, { recipe: level.code, stones: { limit: 5, reach: 2 } }) // marbles to shut the passages you have given up onmountMeikyuu(element, { recipe: level.code, ratio: level.ratio, orientation: "auto" }) // a tall maze, lying down on a wide screenimport { solidLevelOf } from "@johnmorrisdotca/meikyuu/3d/levels"; // 1,600 mazes over a cube, a globe and the triangle solids (dice and shapes: 3d/levels/dice, 3d/levels/shapes)mountSolid(element, { recipe: "cube:7:prim:48213", stones: true }) // a maze over a solid, turned by dragging, drawn from face to facedifficultyOf(maze).score // how hard it is to play, 0 to 100drawMaze(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