different shuffle, quicker run
This commit is contained in:
parent
ae65305d8d
commit
8a400a3f30
@ -25,7 +25,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
<section class="pyscript">
|
||||
<div class="font-mono">Simulating 100 Games for 1000 Players: <label id="outputDiv"></label></div>
|
||||
<div class="font-mono">Simulating 100 Games for 500 Players: <label id="outputDiv"></label></div>
|
||||
<center>
|
||||
<div id="outputDiv2" class="font-mono"></div>
|
||||
</center>
|
||||
@ -54,8 +54,8 @@ for _ in range(1, 20):
|
||||
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.
|
||||
players.extend(pr.generate_players(num_players=50, min_num_games=min_games, total_budget=100))
|
||||
# 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 = pr.play_roulette(players, games=100)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user