예제 #1
0
        public void StartGame(List <Ship> ships)
        {
            Point shotCoord;
            var   consoleController = new ConsoleController();

            do
            {
                shotCoord = consoleController.GetCoordinates();
                Shot(ships, shotCoord);
            }while (EndGame(ships) == false);
            Console.WriteLine("You WIN!");
            Console.WriteLine("For new game press any key.");
            Console.WriteLine("For exit press Esc");
        }