public void SimulateDay() { for (int i = 0; i < players.Count; i++) { Player player = players[i]; player.DayDetails.Insert(dayNumber, new DayDetails()); player.DayDetails[dayNumber].BankAccountStartingBalance = player.BankBalance; player.DayDetails[dayNumber].BankAccountEndingBalance = player.BankBalance; player.DayDetails[dayNumber].PotentialCustomerCount = customers.Count; SimulateCustomers(player, i); player.BankBalance = player.DayDetails[dayNumber].BankAccountEndingBalance; UI.DisplayPlayerDayResults(player, dayNumber); } }