Пример #1
0
        public void GameLoop()
        {
            GameMessages.GameSelectMessage();
            var game = GameSelection();

            game.start();
            Console.Write(">> Do you want to play again ? [Y / N] > ");
            var again = Console.ReadLine();

            if (again.ToLower() == "y" || again.ToLower() == "yes")
            {
                Console.WriteLine("\n");
                GameLoop();
            }
            GameMessages.GameEndMessage();
        }