Example #1
0
        //member methods

        public void GamePlay(Game game)
        {
            UserInterface.WelcomeToGame();
            UserInterface.DisplayRules();

            while (day <= 7)
            {
                Console.WriteLine("\n\n\nDay " + day + "\n\n");
                //display weather
                today.weather.SetForecastedWeather(game);

                //purchase inventory
                store.AskGetSupplies(player);

                //set recipe
                player.recipe.QuestionChangeRecipe(player);
                player.ChangePricePerCup();

                //run day
                today.weather.SetActualWeather(game);
                today.CreateCusomers(player, today, game);

                //display daily results
                player.DisplayDailyResults();

                //display running totals
                player.DisplayWeeklyResults();


                day++;
            }

            player.EndOfGame();
        }