I picked roulette for my Cloud Services midterm mostly because it looked fun to build. I was curious about the idea of beating the house edge, and I wanted something I could play around with without betting real money. In a way, ZeroTrace is also a little fidget toy. You choose a color, set a virtual stake, spin the wheel and see what happens.
But there is a point behind it. In European roulette, Red and Black each cover 18 of the 37 pockets, so the chance of winning either bet is about 48.65%. The green zero is what gives the house its roughly 2.70% edge on those bets. A previous spin doesn't change the next one. The ball has no memory, even when a streak makes it feel otherwise.
What I wanted to build, and what I actually finished
I had roulette in mind from the beginning. My original plan was bigger than the current app. I wanted to experiment with betting systems like Martingale, Fibonacci, D'Alembert and Labouchere, and see how they behave over many spins.…