Reference · Mazes, arrows and mixed boards
MEIKYUU_LEASTconstant
The least a maze must have to be a level at all, wherever it is in a list (isTooEasy): the straight guess draws at least four cells it did
not need, is wrong at two forks or more, and the way has three places to choose, three wrong branches and four dead ends. Below any of these a
maze is pointed at the goal and walked.
Import it
import { MEIKYUU_LEAST } from "@johnmorrisdotca/meikyuu";
Definition
const MEIKYUU_LEAST: { readonly waste: 4; readonly traps: 2; readonly decisions: 3; readonly branches: 3; readonly deadEnds: 4; } = { waste: 4, traps: 2, decisions: 3, branches: 3, deadEnds: 4 } as const
Members
| Name | Type | Description |
|---|---|---|
waste | 4 | |
traps | 2 | |
decisions | 3 | |
branches | 3 | |
deadEnds | 4 |
Examples
import { MEIKYUU_LEAST } from "@johnmorrisdotca/meikyuu";
console.log(MEIKYUU_LEAST);{ waste: 4, traps: 2, decisions: 3, branches: 3, deadEnds: 4 }What it prints (run when this page was built)