You can do this even without a computer. There are two approaches that still work (i.e., that don't focus on biased wheels, as the casinos fixed that bug since years): Wheel watching and distance counting. The first lets you watch the rhythm of the croupier when he spins the wheel and the ball. The second just lets you count the distance between the results in the wheel. The first works way better, but requires much more training.<p>But I guarantee you: This kind of work is mind-numbing. I did this for a while in 1999 and let it go, members of our group continued with it over years and really suffered from the boredom. The same with gaming the slot machines (they have certain regularities or bugs, depending on the model) or poker and other games. So if you're a hacker, the challenge and fun wears off pretty quick and you wish you had a cubicle job instead.<p>Anyway, there are books from the mathematician and physicist Pierre Basieux, unfortunately only in German.