Reference · Numbered puzzle levels
sizeOffunction
How big a maze is, in words a person picks by: under 150 cells is small, under 800 medium, under 4,000 large, and the rest huge.
Import it
import { sizeOf } from "@johnmorrisdotca/meikyuu/levels";
Definition
function sizeOf(cells: number): MeikyuuSize
Parameters
| Name | Type | Description |
|---|---|---|
cells | number | A cell-index path or total count specified by this signature. |
Returns
"small" | "medium" | "large" | "huge"
How big a maze is, in words a person picks by: under 150 cells is small, under 800 medium, under 4,000 large, and the rest huge.
Examples
import { sizeOf } from "@johnmorrisdotca/meikyuu/levels";
console.log(sizeOf(100));smallWhat it prints (run when this page was built)