For eight months, the pair dove into the challenge of developing a device that would predict the final resting spot of a roulette ball. For the device to beat the house, Thorp and Shannon didn’t have to predict the precise outcome every time: they just had to acquire any kind of slight edge over the odds. Over time, and with enough bets, even the smallest advantage would multiply into a meaningful return.