Small PixiJS v7 slot game framework.
- PixiJS v7
- TypeScript
- Vite
npm install
npm run dev- Config-driven reel setup via
src/config/gameConfig.json - Reel engine with spin, deceleration, snap stop, and symbol recycling
- Typed mock spin result flow
- Event-driven state machine
- Free spins feature
- Win presentation and HUD
- RenderTexture-based symbol generation
ARCHITECTURE.md- architecture notes, tradeoffs, and self-critiqueJUNIOR_DEV_GUIDE.md- onboarding and extension notessrc/config/gameConfig.json- main game configuration
- Symbols are generated procedurally with
PIXI.GraphicsandPIXI.Text, then rendered once into sharedRenderTextureobjects. - Reel count, rows, strips, bet options, and timing values are driven by config.
- Feature modules communicate through the event bus.