Gambler’s ruin

Gambler’s ruin is a probability problem in which a gambler’s fortune changes through repeated bets until it reaches zero or a target fortune. It models this process as a random walk with absorbing boundaries.

Connect