Ejemplo n.º 1
0
        public bool UserChoices()
        {
            Console.WriteLine("What would you like to do?\n1: Go to Store\n2: See Week's Forecast\n3: Change Recipe\n4: Open Lemonade Stand");
            switch (Console.ReadLine().ToLower())
            {
            case "1":
            case "go to store":
            case "store":
            case "go":
                player.GoToTheStore(player);
                break;

            case "2":
            case "week":
            case "see week":
            case "see week's":
            case "forecast":
            case "see weeks forecast":
            case "see week's forecast":
                day.WeatherForecast(days);
                Console.Clear();
                break;

            case "3":
            case "change recipe":
            case "change":
            case "recipe":
                Console.Clear();
                UserInterface.CostDisplay(player);
                UserInterface.RecipeDisplay(player);
                player.ChangeRecipe();
                break;

            case "4":
            case "open":
            case "open lemonade":
            case "open lemonade stand":
            case "lemonade":
            case "lemonade stand":
            case "stand":
                break;

            default:
                Console.Clear();
                Console.WriteLine("Please Try Entering the number associated with the option you would like to do.");
                break;
            }
            bool continueUserChoices = ContinueUserChoices();

            return(continueUserChoices);
        }