An animation of the gambler's ruin problem Moti Ben-Ari Total initial capital is 24 Five simulations are run simultaneously After clicking the green flag, enter: * the probability of a move to the right by the left gambler A (0.0<=p<=1.0) * the initial capital of A (0<=k<=24) or, reuse current parameters Each ball will move left and right until it reaches 0 (A ruined) or it reaches 24 (B is ruined)