Houseki documentation
Houseki 宝石 — Match-3 gem puzzles
Run five native gem and stone engines, play measured challenges and lessons, and save deterministic games.
Install
npm install @johnmorrisdotca/houseki
Start here
Entry points
| Import it | What it is | Size |
|---|---|---|
@johnmorrisdotca/Falling Triplets · 53 exports | 21.8 kB | |
@johnmorrisdotca/Colour Chains · 70 exports | 75.9 kB | |
@johnmorrisdotca/Stone Collapse · 44 exports | 32.5 kB | |
@johnmorrisdotca/Gem Swap · 59 exports | 21.0 kB | |
@johnmorrisdotca/Shizen and Arashi environments · 42 exports | 7.0 kB | |
@johnmorrisdotca/Magnetic Blocks · 53 exports | 28.2 kB | |
@johnmorrisdotca/All six native namespaces · 6 exports | Original immutable game engines, grouped by game. | 179.1 kB |
Guides
How-to
- Drive falling gemsKeep player actions and fixed-tick simulation in order.
- Play full-board gamesInspect legal actions, rejection and tool previews on native full boards.
- Use magnetic floorsCompare native landing and gravity without mutating the input.
- Preview nature and weatherUse pure previews before committing magnetic, rebound and weather changes.
- Open campaigns and lessonsKeep stable ids, witnessed plans and review status with authored content.
- Save and replay a gameStore native recordings and handle replay rejection explicitly.
- Build a host UIRender native state and route accessible input without changing the engine API.