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 bet amounts and pays and collects accurately. No real money 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.