Example #1
0
        static void getInput()
        {
            Console.WriteLine("Please press the number you wish to select");
            string input = Console.ReadLine();

            if (input.Equals("q") || input.Equals("Q"))
            {
                ExitGame();
            }
            bool checkAnswer = game.ChangeTiles(input, pickPlayer(turncounter));

            if (checkAnswer)
            {
                turncounter++;
                return;
            }
            else
            {
                Console.WriteLine("Please Enter Another Number");
                return;
            }
        }