示例#1
0
 static void Main(string[] args)
 {
     BattleshipBoard board = new BattleshipBoard();
     TigerWarShip tigerWarShip = new TigerWarShip();
     board.CreateRandomBoard();
     tigerWarShip.Play(board);
     Console.WriteLine(tigerWarShip.GetTeamName());
     Console.ReadLine();
 }
示例#2
0
        static void Main(string[] args)
        {
            BattleshipBoard board        = new BattleshipBoard();
            TigerWarShip    tigerWarShip = new TigerWarShip();

            board.CreateRandomBoard();
            tigerWarShip.Play(board);
            Console.WriteLine(tigerWarShip.GetTeamName());
            Console.ReadLine();
        }