From b78eadc4dc30d4633e071e0f4fbb2964e95945fb Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Sun, 27 Nov 2022 01:16:57 -0700 Subject: [PATCH] mix up game dynamics --- index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 69c9768..cfa40c0 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,14 @@ from pyroulette import * from random import randint players = [] for _ in range(1, 20): - min_games = randint(1, 100) + c = randint(0, 3) + if c == 0: + min_games = randint(1, 100) + elif c == 1: + min_games = randint(1, 25) + else: + min_games = randint(1, 2) + players.extend(generate_players(num_players=25, min_num_games=min_games, total_budget=100)) players = play_roulette(players, games=100)