Exemple #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();
 }
Exemple #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();
        }