Beispiel #1
0
        public void RunGame(Human player)
        {
            player.PlayerInventory.ResetDailyValues();
            UserInterface.DisplayInventory(player);
            CurrentDay.TodaysWeather.DetermineWeather(dayCounter);
            player.MakeYourRecipe(CurrentDay);
            string GoShopping = player.DecideWhatToBuy();

            if (GoShopping == "yes")
            {
                player.GoToTheStore(Walmart);
            }
            player.OpenStandForSales();
            CurrentDay.DetermineVisits();
            CurrentDay.CustomerVisits();
            demandValue = CurrentDay.TodaysRecipe.PriceBasedDemand();
            CurrentDay.GlassesPurchased(player, demandValue);
            UserInterface.DisplayInventory(player);
            Console.ReadLine();
        }