Reference · Colossal maze levels
findColossalLevelsfunction
The colossal levels of a list that pass a filter, by shape and way to play, each when given.
Import it
import { findColossalLevels } from "@johnmorrisdotca/meikyuu/levels/colossal";
Definition
function findColossalLevels(filter?: { list?: MeikyuuColossalLevel["list"]; shape?: MazeRecipe["shape"]; mode?: MazeRecipe["mode"]; }): MeikyuuColossalLevel[]
Parameters
| Name | Type | Description |
|---|---|---|
filter (optional) | { list?: MeikyuuColossalLevel["list"]; shape?: MazeRecipe["shape"]; mode?: MazeRecipe["mode"]; } | Optional native shape, mode, size or collection filters. |
Returns
MeikyuuColossalLevel[]
The colossal levels of a list that pass a filter, by shape and way to play, each when given.
Examples
import { findColossalLevels } from "@johnmorrisdotca/meikyuu/levels/colossal";
console.log(findColossalLevels({shape:"square"}).length);57What it prints (run when this page was built)