sky high values spotted

This commit is contained in:
Michael Pilosov 2022-11-27 03:03:29 -07:00
parent 69547c2b79
commit ae65305d8d

View File

@ -47,14 +47,14 @@ from random import random, randint
players = []
for _ in range(1, 20):
c = random()
if c < 0.5: # half our players want to play 50-100 games
min_games = randint(50, 100)
elif c < 0.8: # 30% want to play 25-50 games
min_games = randint(25, 50)
else: # the rest are fine with going home very early.
min_games = randint(1, 10)
if c < 0.25:
min_games = randint(1, 100)
elif c < 0.5:
min_games = randint(1, 25)
else: # bold half
min_games = randint(1, 2)
min_games = 100 # this caps out at about 250 games. need to bet bigger to win bigger.
# min_games = 100 # this caps out at about 250 games. need to bet bigger to win bigger.
players.extend(pr.generate_players(num_players=50, min_num_games=min_games, total_budget=100))
players = pr.play_roulette(players, games=100)