示例#1
0
 public void DisplayEndOfDaySummary(Player player, Day today)
 {
     Console.WriteLine($"End of day {days.Count}/{totalDays} summary: \n{player.name} sold {today.payingCustomers.Count} " +
                       $"cups of lemonade to a potential {today.customers.Count} customers\n");
 }
示例#2
0
        public int FindLikelihoodToBuyFactor(Player player, Day today)
        {
            int priceFactor = FindPriceFactor(player.recipe);

            return(priceFactor + today.weather.todayConditionFactor);
        }