Reference · Tiles, layouts and deals
MEGA_LAYOUTSconstant
The large native stacked layouts and their supported size identifiers.
Import it
import { MEGA_LAYOUTS } from "@johnmorrisdotca/jarajara";
Definition
const MEGA_LAYOUTS: readonly MahjongLayout[] = [greatWall(), palace()]
Examples
import { MEGA_LAYOUTS } from "@johnmorrisdotca/jarajara";
console.log(MEGA_LAYOUTS.map(layout=>[layout.size,layout.key,layout.slots.length]));[ [ 20, 'wall', 288 ], [ 26, 'palace', 576 ] ]What it prints (run when this page was built)