Simulates a gambler who start with $stake and place fair $1 bets until she goes broke or reach $goal. Keeps track of the number of times she wins and the number of bets she makes. Run the experiment N times, averages the results, and prints them out.
-
Notifications
You must be signed in to change notification settings - Fork 0
Simulates a gambler who start with $stake and place fair $1 bets until she goes broke or reach $goal. Keeps track of the number of times she wins and the number of bets she makes. Run the experiment N times, averages the results, and prints them out.
DanielHutt/gamblers-ruin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simulates a gambler who start with $stake and place fair $1 bets until she goes broke or reach $goal. Keeps track of the number of times she wins and the number of bets she makes. Run the experiment N times, averages the results, and prints them out.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published