🎲 Gambler's Ruin (2D)
Interactive 2D gambler's ruin simulator: watch a random walk between two absorbing barriers, tune starting capital and win probability, and compare the exact ruin-probability formula against empirical Monte Carlo results.
⚙ Under the hood
Watch a gambler's capital random-walk between two absorbing barriers at 0 and a target N. Tune starting capital, win probability, and speed, then compare the exact ruin-probability formula against empirical results from many simulated trials.
probabilityrandom-walkmonte-carlostatisticsmarkov-chain
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install