Пример #1
0
        public void RunGame()
        {
            GameRules();
            int numberOfDays = ChooseDays();

            for (int i = 0; i < numberOfDays; i++)
            {
                IngredientPrices(player.bank);
                player.GetIngredients(store);
                player.RecipeDecision();
                weather.GenerateWeather();
                player.CostOfLemonade();

                int sales = customer.PotentialCustomers(weather, player).Count;
                day.DailyLemonadesPurchased(sales);
                day.DisplayDailyProfits();
                player.inventory.CurrentInventory();
            }
        }