Reference · Load level collections
TSUNAGI_PORTAL_SIZESconstant
A second set of levels, boards with portals (code.ts): a line goes in at one
ring and out of the other. Their own sizes and their own two blocks of sixteen a
size, opened one after another like the first set's, and numbered from 1 in their
own set; a record that keeps a level by one number (levelSeed) keeps a portal
level as TSUNAGI_PORTAL_SEED and its number, which no level of the first set
reaches.
Import it
import { TSUNAGI_PORTAL_SIZES } from "@johnmorrisdotca/tsunagi/levels";
Also exported from: @johnmorrisdotca/tsunagi
Definition
const TSUNAGI_PORTAL_SIZES: readonly [5, 6, 7, 8, 9, 10, 12, 15] = [5, 6, 7, 8, 9, 10, 12, 15] as const
Examples
import { TSUNAGI_PORTAL_SIZES } from "@johnmorrisdotca/tsunagi/levels";
console.log(TSUNAGI_PORTAL_SIZES);[
5, 6, 7, 8,
9, 10, 12, 15
]What it prints (run when this page was built)