public void RunPeriods(LemonadeStandOwner player) { if (players.Count > 1) { UI.ClearPrint($"{player.name}'s turn."); Console.ReadLine(); } for (int i = 1; i <= periodsPerDay; i++) { StartPeriod(i, player); ShortageAlert(player); //customer loop for (int j = 0; j < (todayCustomerTraffic + player.popularity) / periodsPerDay; j++) { customer = new Customer(randomizer); if (player.lemonadeCupPrice <= SetCustomerPrice()) { player.ServeCustomer(customer.cupsDesired); player.todayCustomerSatisfaction = customer.GetSatisfaction(player.currentRecipe.lemonsPerPitcher, player.currentRecipe.sugarPerPitcher, player.currentRecipe.icePerCup); } } WrapUpPeriod(i, player); } }