Roulette App
Try It Now
To test the Roulette App yourself and see the functionality in action, click the link below:
Overview
The Roulette App is a minimalist roulette simulator written in vanilla JavaScript. It runs entirely in the browser and lets you place simple bets, spin the wheel, and track a virtual balance.
Features
- Place Bets: Wager on a single number, a color, or odd/even.
- Spinning Animation: A lightweight CSS wheel spins on each bet.
- Payout Calculation: Wins and losses update your balance instantly.
- Client-Side Only: No backend or server is required.
Purpose
Demonstrates Codex's ability to generate a playable mini game with nothing more than HTML, CSS, and JavaScript.
How It Works
- Choose a Bet: Select a bet type and amount (and a number if applicable).
- Spin the Wheel: Click Spin to animate the wheel and reveal the winning number.
- View Results: Your balance increases or decreases based on standard roulette payouts.