
CRASH - Casino HTML5 Game (Phaser 3, rebrandable)
Ride the curve, cash out big. A polished, production-ready Crash / Aviator-style mini-game in pure JavaScript on Phaser 3 — built for casino & betting operators as a promo / gamification widget: deposit boosters, loyalty rounds, bonus games.
The multiplier climbs along a glowing curve; the player taps CASH OUT before it flies away, or arms an auto-cash-out. Rebrand it in minutes: every colour, the house edge, the pacing, the bank and all copy live in one commented `config.js` — no game-code edits, ever. ~17 KB, synthesised sound (no audio files), no external calls, no localStorage — it drops cleanly into any iframe. Built honest: the crash point is generated from the config'd distribution (or fed from your backend) and the animation simply shows it. Bilingual RU / EN out of the box, plus a built-in leaderboard and round history.
> Buy once, ship to every client. The whole point is rebranding via `config.js` in minutes — your commercial lever for reselling to operator after operator.
Краткое описание (RU)
Взлетай и забирай. Готовая к продакшену Crash / Aviator-игра на чистом JavaScript и Phaser 3 — для казино и букмекеров как промо/геймификация: депозит-бустеры, лояльностные раунды, бонусные мини-игры.
Множитель растёт по светящейся кривой; игрок жмёт ЗАБРАТЬ до краша или включает авто-кэшаут. Перебрендирование за минуты: все цвета, маржа казино, тайминги, банк и тексты — в одном прокомментированном `config.js`, код игры трогать не нужно. ~17 КБ, синтезированный звук (без аудиофайлов), без внешних запросов и localStorage — чисто встаёт в любой iframe. Честная механика: точка краша рождается из распределения в конфиге (или приходит с вашего бэкенда), анимация лишь показывает её. Двуязычно RU / EN из коробки, плюс встроенные лидерборд и история раундов.
---
Features / Возможности
- 🚀 Interactive cash-out + auto-cash-out — the real Aviator loop: timing nerve, or set-and-forget at a chosen multiplier
- 🎯 One-file branding — colours, house edge, pacing, bank, copy all in `config.js`
- 🌍 Bilingual out of the box — live RU / EN switch, easy to add more languages
- ⚖️ Honest by design — the crash point comes from a config'd distribution (or your backend); the animation only *presents* it. No money logic baked in.
- 🪶 Lightweight — ~17 KB of game code, Phaser via CDN, zero asset files (curve, comet, particles & glow all generated)
- 🔊 Synthesised audio — climbing ticks, crash boom and cash-out chime generated in-code
- 🏆 Leaderboard + round history — casino atmosphere out of the box
- 📊 Auto-scaling chart — sliding multiplier gridlines, particle comet trail, win/crash bursts
- 📱 Responsive — Phaser `Scale.FIT`, fits any iframe / screen
- 🔌 No external calls, no localStorage — drop it into any operator frame safely
---
How the result works (for buyers)
Each round a hidden crash multiplier is generated up-front from a classic heavy-tailed distribution: `bust = (1 − houseEdge) / random()` (median ≈ ×1.9). The comet then climbs and the on-screen multiplier rises until it reaches that value. `houseEdgePercent` is the operator's margin; raise it and rounds bust low more often. For backend-driven integrations, set `crash.rigOutcome` (or feed the value in) — the curve just animates to it. The animation never decides money.
---
What's included in the download
```
crash_golden_casino.zip
├─ index.html ← entry point (root of zip)
├─ config.js ← the ONLY file a client edits
├─ game.js ← game logic
├─ utils.js ← shared helpers
└─ audio.js ← synthesised sound
LICENSE.txt ← commercial license template
```
Built with AI-assisted development; all code reviewed and tested before release.



Leave a comment
Log in with itch.io to leave a comment.