[Shiny App] Gambler's Ruin
The Gambler’s Ruin is a well-known problem that can be used to illustrate a variety of probability concepts.
Two players are playing a game against each other, betting the same amount on each turn (here, we use $1). On each turn of the game, Player A has a fixed probability p of winning $1 from Player B, where 0<p<1. The probability that Player B will win $1 from Player A is 1-p. Player A and Player B each start with some...Show More