Recently i've been very interested in how to parse data from html into my c program. I'm now considering to calculating the probabilities for the next colour to be out in the Wheel of Fortune.
But my math is scarce, and i want the best algorithm possible for my program.
I'm looking for some really nice suggestions and opinions, and overall some help for making this software awesome.
Consider the Wheel has 54 slots, with 26 black slots, 17 Red slots, 10 Blue slots, and 1 Gold.
Consider also that since we're registering for a given time the colours out with a software, we know how many n times a colour was out.
What's the mathematical approach to calculate the best probabilities for the next colour to be out? And how much we should register the colours before having an accurrate prediction?