🎰 Multiplayer Roulette — Firebase Edition

Step right up and spin the wheel in this real-time multiplayer roulette game! Built with Vanilla JS + Firebase Realtime Database, this project brings the casino table online with friends, chat, and fair play mechanics.

✨ Features

  • Multiplayer Tables — Create or join rooms with a simple 5-character code and play together instantly.

  • Host-Controlled Gameplay — The game won’t start until the host presses Start Game, keeping things organized. The host can also end sessions anytime.

  • Live Chat & Feed — Table chat for banter and a round feed that shows winnings.

  • Real-Time Bets & Payouts — Place chips on Red/Black, Odd/Even, dozens, or single numbers. Bets update live for everyone.

  • Animated Wheel — Spinning ball and wheel effects for extra flair.

  • Balances & Bets — Each player starts with $1000, wagers update instantly, and winnings are paid out automatically.

  • Fairness Commitment — Uses a seed hash / reveal system for spin transparency.

πŸ”§ Tech Stack

  • Firebase Realtime Database for presence, chat, bets, and syncing game state.

  • Firebase Anonymous Auth for quick joins without sign-in.

  • Pure Vanilla JS/HTML/CSS — no external frameworks required.

  • Itch.io Ready with built-in scrolling and self-contained single-file app.

πŸš€ How to Play

  1. Enter your display name.

  2. Create or join a room with a 5-letter code.

  3. The host starts the game when everyone is ready.

  4. Place your bets before the countdown ends.

  5. Watch the spin, celebrate wins, and keep betting each round.

Leave a comment

Log in with itch.io to leave a comment.