|  |  GeoAstro Applets |  Astronomy |  Chaos Game |  Java |  Miscel- laneous | 
Gambler's Ruin Applet
        
      
| A gambler
                        starts with a stake of size S. He repeatedly plays a fair game, with 0.5 probability of winning or losing 1 dollar, until his capital reaches the value M or until going broke (capital 0). | 
|   | button starting a single game, the diagram is showing the current capital button to stop the game | 
|  | select the value S
                        of the initial stake | 
|  | select the value M
                        of the final capital the player tries to reach | 
|  | button starting a set of N games | 
|  | the numbers N of games can be selected from the menu | 
expected duration of a fair gambling game

expected duration of a fair gambling game
expected duration of a fair gambling gam
expected duration of a fair gambling

Updated: 2023, Oct 06
          
