示例#1
0
        static void Main(string[] args)
        {
            char[] letter = { 'X', 'O' };
            Console.WriteLine(" Welcome to Tic Tac Toe Game");

            // TicTacToe.chooseLetter(letter);
            TicTacToe.play(letter);
            string anotherGame = Console.ReadLine();

            if (anotherGame == "YES")
            {
                Console.WriteLine(" Play Another Game ");
                TicTacToe.emptyTheBoard();
                TicTacToe.play(letter);
            }
        }