Reference · Numbered puzzle levels
mazeLevelsOfSizefunction
The levels of one size, in order: 256 of them, each a little harder than the one before.
Import it
import { mazeLevelsOfSize } from "@johnmorrisdotca/meikyuu/levels";
Definition
function mazeLevelsOfSize(size: MeikyuuSize): readonly MeikyuuMazeLevel[]
Parameters
| Name | Type | Description |
|---|---|---|
size | "small" | "medium" | "large" | "huge" | The named level size, or numeric tall width specified by this signature. |
Returns
readonly MeikyuuMazeLevel[]
The levels of one size, in order: 256 of them, each a little harder than the one before.
Examples
import { mazeLevelsOfSize } from "@johnmorrisdotca/meikyuu/levels";
console.log(mazeLevelsOfSize("small").length);256What it prints (run when this page was built)