Appearance
hizi engine Generator
Turn your simulation results into the compact JSONL files the engine serves.
hizi engine generator converts your game engine's simulation results into compact JSONL files. The hizi engine runtime consumes these files. The package name is @hizi.io/engine-generator.
Next Steps
- Getting Started: Install the generator. Write your first output files.
- Slot Game Example: A complete end-to-end game.
- Output Format: How the generator groups identical outcomes into one weighted entry.
- Browser Usage: How to run the generator in the browser against OPFS, as well as under Node.js.
- Buy-Features: Selection pools built from recorded entries, with the entrypool strategy, weight overrides, and pricing from the engine.
- KPI Math: Pure functions for RTP, volatility, hit rate, win distribution, and per-feature breakdowns. The engine reports the same numbers.
- Types: Every exported interface.
- API Reference: The full
HiziEngineGeneratorsurface.