예제 #1
0
        public void WhoMakesRecipe()
        {
            Console.WriteLine("Would you like to make the recipe, 'Yes' or 'No'");
            string recipeDecision = Console.ReadLine();

            switch (recipeDecision)
            {
            case "Yes":
                MakePlayerRecipe();
                CanIMakePlayerRecipeLemonade();
                break;

            case "No":
                player.CanIMakeLemonade();
                break;

            default:
                Console.WriteLine("That is not an option, please try again.");
                WhoMakesRecipe();
                break;
            }
        }