Exemplo n.º 1
0
        public static void StartGame()
        {
            Console.WriteLine("Welcome to Bulls and Cows, a fun word game.\n\n");
            Console.WriteLine("          }   {         ___ ");
            Console.WriteLine("          (o o)        (o o) ");
            Console.WriteLine("   /-------\\ /          \\ /-------\\ ");
            Console.WriteLine("  / | BULL |O            O| COW  | \\ ");
            Console.WriteLine(" *  |-,--- |              |------|  * ");
            Console.WriteLine("    ^      ^              ^      ^ \n\n");

            Console.WriteLine("What difficulty would you like? Easy, Normal, or Hard?");
            userResponse = Console.ReadLine();
            if (!(WordCheck.validDifficulty(userResponse.ToLower())))
            {
                Console.WriteLine("\n\nSorry, that's not a valid option! Restarting program... \n\n");
                return;
            }
            hiddenWord = WordCheck.checkDifficultyAndGetWords(userResponse.ToLower()).ToString();
            Console.WriteLine("\nYou have chosen: " + userResponse + ". Selecting a word...\n");
            Console.WriteLine("The word has been chosen! It is: " + hiddenWord.Length + " characters long.\nYou have: " + numOfTries + " tries. Try your best and have fun!\n");
        }