public static void main(String args[]) {

    TowerDefenseGame gameServer = new TowerDefenseGame();
    gameServer.initConnection();

    while (!gameServer.checkInitalBridge()) {
      try {
        Thread.sleep(TowerDefenseGame.delay);
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
      System.out.println("Try Create");
    }
    
    TowerDefenseGame gameClient = new TowerDefenseGame();
    gameClient.initConnection();

    while (!gameClient.checkInitalBridge()) {
      try {
        Thread.sleep(TowerDefenseGame.delay);
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
      System.out.println("Try Create");
    }

  }