Example #1
0
        public void DisplayDailyChoices()
        {
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("\n\n\n\n WHAT WOULD YOU LIKE TO DO?");
            Console.WriteLine("============================\n");
            Console.ResetColor();
            Console.WriteLine("1) Buy Inventory\n");
            Console.WriteLine("2) Change Recipe or Price per Cup\n");
            Console.WriteLine("3) Make Pitchers of Lemonade\n");
            Console.WriteLine("4) See the Rules\n");
            Console.WriteLine("5) Start your day!\n");
            string choice = Console.ReadLine().ToLower();

            switch (choice)
            {
            case ("1"):
                Console.Clear();
                store.BuyInventoryMenu(player, this);
                break;

            case ("2"):
                Console.Clear();
                player.recipe.DisplayRecipeMenu();
                break;

            case ("3"):
                Console.Clear();
                player.items.DisplayPitcherMenu();
                break;

            case ("4"):
                rules.GetRules();
                break;

            case ("5"):
                Console.Clear();
                day.ExecuteDay();
                break;

            default:
                Console.Clear();
                Console.WriteLine("Invalid choice. Please enter a number 1-5");
                DisplayDailyInventory();
                DisplayDailyChoices();
                break;
            }
        }