public void InitializeDay(Player player, Inventory inventory) { if (yesterdayStartValue == 0) { yesterdayStartValue = 20.00; } if (dayCounter > 7) { Console.WriteLine("Game over!"); Console.ReadKey(); } GUI.BeginningReport(weather, player, inventory, dayCounter, netProfit); Console.WriteLine("\n" + "Press any key to continue."); Console.ReadKey(); GUI.MainMenu(errorMessage); int userInput = player.IntInputTest(); switch (userInput) { case 1: // displays all information that the player needs about weather/inventory/ InitializeDay(player, inventory); break; case 2: // allows player to buy items from the store store.StoreMainMenu(player, inventory); store.Confirmation(player, inventory); InitializeDay(player, inventory); break; case 3: // allows player to set a recipe for how much ingrediants they want to use per pitcher of lemonade RecipeSetup(inventory, player); GUI.RecipeConfirmation(inventory); string playerInput = player.StringInputTest(); if (playerInput == "yes") { Console.Clear(); Console.WriteLine("Recipe Set!"); Console.ReadKey(); InitializeDay(player, inventory); } else if (playerInput == "no") { Console.Clear(); Console.WriteLine("Recipe Setup Cancelled."); Console.ReadKey(); InitializeDay(player, inventory); } else { Console.Clear(); Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(errorMessage + "Recipe Setup Cancelled."); Console.ReadKey(); Console.ResetColor(); InitializeDay(player, inventory); } break; case 4: // goes through a day of sales at the stand! DayLoop(inventory, weather); break; default: Console.WriteLine(errorMessage + "Please try again"); Console.ReadKey(); InitializeDay(player, inventory); break; } }