slight tweak
This commit is contained in:
parent
8a400a3f30
commit
da49513ac8
@ -45,7 +45,7 @@ import pyroulette as pr
|
|||||||
from random import random, randint
|
from random import random, randint
|
||||||
|
|
||||||
players = []
|
players = []
|
||||||
for _ in range(1, 20):
|
for _ in range(1, 50):
|
||||||
c = random()
|
c = random()
|
||||||
if c < 0.25:
|
if c < 0.25:
|
||||||
min_games = randint(1, 100)
|
min_games = randint(1, 100)
|
||||||
@ -55,7 +55,7 @@ for _ in range(1, 20):
|
|||||||
min_games = randint(1, 2)
|
min_games = randint(1, 2)
|
||||||
|
|
||||||
# min_games = 100 # this caps out at about $250 wallet. need to bet bigger to win bigger.
|
# min_games = 100 # this caps out at about $250 wallet. need to bet bigger to win bigger.
|
||||||
players.extend(pr.generate_players(num_players=25, min_num_games=min_games, total_budget=100))
|
players.extend(pr.generate_players(num_players=10, min_num_games=min_games, total_budget=100))
|
||||||
|
|
||||||
players = pr.play_roulette(players, games=100)
|
players = pr.play_roulette(players, games=100)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user