Playing roulette, after you input the money you want to bet, the initial bet and your goal, the program simulates 10000 trials, and after that gives you the probability of winning applying the Martingale technique.The strategy had the gambler double his bet after every loss, so that the first win would recover all previous losses plus win a profit equal to the original stake.
This program is available for American Roulette and European Roulette.