PHP Roulette


Testing out the Martingale theory

A Simple PHP Roulette Script

This was created to simulate playing all in just on black, red, or random to test the Martingale theory which could be used if it weren’t for maximum bet often present

From Wikipedia: “A martingale is any of a class of betting strategies that originated from and were popular in 18th century France. The simplest of these strategies was designed for a game in which the gambler wins his stake if a coin comes up heads and loses it if the coin comes up tails. 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. The martingale strategy has been applied to roulette as well, as the probability of hitting either red or black is close to 50%.”

Photo Gallery

Tagged Skills

PHP