Skip to content

MrWalu/gamblers_ruin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gambler's ruin algorithms

Algorithms resolving gambler's ruin problems

2players_pA50.py

2 players a+b = 100 pA = 0.5

ruin_of_A.py

Capital of A = 50 Capital of B = 50 Simulating probability of gambler A's ruin and drawing a chart.

different_probabilities.py

Counting number of turns to the end of a game for different probabilities at the beginning Capital a = 10 a+b = 20 pA = 0.2 / 0.5 / 0.8

About

Algorithms resolving gambler's ruin problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages