if (game.getPhase() == Game.PHASE_INITIATIVE) {
if (game.getPhase() == IGame.PHASE_INITIATIVE) {
    public BotClient(String playerName, String host, int port) {        super(playerName, host, port);        game.addGameListener(new GameListenerAdapter(){            public void gamePlayerChat(GamePlayerChatEvent e) {                processChat(e);            }            public void gameTurnChange(GameTurnChangeEvent e) {                if (isMyTurn()) {                    calculateMyTurn();                }            }            public void gameReport(GameReportEvent e) {                if (game.getPhase() == Game.PHASE_INITIATIVE) {                    //Opponent has used tactical genius, must press                    // "Done" again to advance past initiative report.                    sendDone(true);                }            }                    });    }