Home▸Probability & Statistics▸Gambler's Ruin (2D)

🎲 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.

Probability & Statistics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-gamblers-ruin ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)