Based on a popular casino wheel game, this web app uses similar betting system and odds.
Each spin’s landing wedge is calculated in real time, using varying initial spin speed, constant friction of the wheel, and intermittent friction of the pegs between wedges.
The game has a fully functional betting system which tracks bet targets and amounts and pays and collects accurately. No real money in this demo version.
The game and its betting interface and “fauxics” were challenging and fun to build. The difficulty came in tailoring the layout responsively across devices, from high def tv to laptop, to tablet, to phone, portrait and landscape across viewport sizes.
• Javascript • GSAP • HTML • CSS • Illustrator • Photoshop • Algebra • Geometry