Martingale simulator

A martingale is a kind of betting strategy where you double your wager on every loss such that the first win recovers all previous losses plus a profit equal to the initial wager. It's pretty obvious this doesn't work in practice, but let's visualise it. Introducing the Martingale Simulator.