Пример #1
0
        /*
         *  IsDefeated - Returns whether the player is defeated
         */

        public bool IsDefeated()
        {
            return(!board.AreShipsLiving());
        }