Reference · Numbered puzzle levels
bandOffunction
Read the easy, medium or hard third of a numbered level collection.
Import it
import { bandOf } from "@johnmorrisdotca/meikyuu/levels";
Definition
function bandOf(n: number, count?: number): MeikyuuBand
Parameters
| Name | Type | Description |
|---|---|---|
n | number | The level number, random bound or surface subdivision specified by the signature. |
count (optional) | number | The collection size or number of dice/items specified by the signature. |
Returns
MeikyuuBand
Read the easy, medium or hard third of a numbered level collection.
Examples
import { bandOf } from "@johnmorrisdotca/meikyuu/levels";
console.log(bandOf(1,256));easyWhat it prints (run when this page was built)