Пример #1
0
        //Methods(Can Do)

        public void RunGame()
        {
            userInterface.DisplayInstructions();
            DetermineNumberOfPlayDays();
            while (numberOfGameDays > 0)
            {
                weather = new Weather();
                userInterface.DisplayMenuItems();
                itemStore.OfferPurchases();
                playerOne.lemonadeRecipe.SetLemonadeRecipe();
                day.DetermineBeforeSalesDollarAmount();
                day.DetermineBeginingOfDayCupCount();
                day.ExecuteDailyLemonadeSales();
                day.DetermineEndOfDayCupCount();
                day.DetermineAfterSalesDollarAmount();
                day.DetermineLemonadesSoldPerDay();
                day.DetermineNetIncome();
                day.DisplayDailySales();
                numberOfGameDays -= 1;
            }
        }