Reference · Numbered puzzle levels
MeikyuuArrowLeveltype
A numbered arrow-puzzle recipe and its native difficulty metadata.
Import it
import type { MeikyuuArrowLevel } from "@johnmorrisdotca/meikyuu/levels";
Definition
type MeikyuuArrowLevel = Base & {
readonly kind: "arrows";
readonly recipe: ArrowRecipe;
};
Members
| Name | Type | Description |
|---|---|---|
number | number | Its place in its own list, from 1. |
code | string | The recipe as one short word. |
effort | number | What it measures (see |
rating | number | The effort as a rating from 1 to 100 on the scale of the maze list. |
kind | "arrows" | |
recipe | ArrowRecipe |
Examples
import type { MeikyuuArrowLevel } from "@johnmorrisdotca/meikyuu/levels";
import { levelOf } from "@johnmorrisdotca/meikyuu/levels";
const value: MeikyuuArrowLevel = levelOf("arrows",1)!;
console.log(value);{
kind: 'arrows',
number: 1,
code: 'square:3x3:4:5007',
effort: 8,
rating: 1,
recipe: { shape: 'square', w: 3, h: 3, longest: 4, seed: 5007 }
}What it prints (run when this page was built)