Reference · Mazes, arrows and mixed boards
stoneLimitForfunction
How many stones a maze of cells cells gets by default: three, and one more for every hundred cells across (so four for a small maze, nine for a huge one, thirteen for a colossal one).
Import it
import { stoneLimitFor } from "@johnmorrisdotca/meikyuu";
Definition
function stoneLimitFor(cells: number): number
Parameters
| Name | Type | Description |
|---|---|---|
cells | number | A cell-index path or total count specified by this signature. |
Returns
number
How many stones a maze of cells cells gets by default: three, and one more for every hundred cells across (so four for a small maze, nine for a huge one, thirteen for a colossal one).
Examples
import { stoneLimitFor } from "@johnmorrisdotca/meikyuu";
console.log(stoneLimitFor(25));3What it prints (run when this page was built)