Reference · Tiles, layouts and deals
MORE_LAYOUTSconstant
The additional native stacked layouts and their supported size identifiers.
Import it
import { MORE_LAYOUTS } from "@johnmorrisdotca/jarajara";
Definition
const MORE_LAYOUTS: readonly MahjongLayout[] = [PAGODA, FORTRESS, PYRAMID, BRIDGE, BUTTERFLY, DRAGON]
Examples
import { MORE_LAYOUTS } from "@johnmorrisdotca/jarajara";
console.log(MORE_LAYOUTS.map(layout=>[layout.size,layout.key,layout.slots.length]));[
[ 11, 'pagoda', 94 ],
[ 12, 'fortress', 116 ],
[ 13, 'pyramid', 142 ],
[ 14, 'bridge', 84 ],
[ 16, 'butterfly', 112 ],
[ 17, 'dragon', 142 ]
]What it prints (run when this page was built)