} else if (game.getPhase() == Game.PHASE_PHYSICAL) {
} else if (game.getPhase() == IGame.PHASE_PHYSICAL) {
    protected void calculateMyTurn() {        try {            if (game.getPhase() == Game.PHASE_MOVEMENT) {                MovePath mp = null;                if (game.getTurn() instanceof GameTurn.SpecificEntityTurn) {                    GameTurn.SpecificEntityTurn turn = (GameTurn.SpecificEntityTurn) game.getTurn();                    Entity mustMove = game.getEntity(turn.getEntityNum());                    mp = continueMovementFor(mustMove);                } else {                    mp = calculateMoveTurn();                }                moveEntity(mp.getEntity().getId(), mp);            } else if (game.getPhase() == Game.PHASE_FIRING) {                if (game.getTurn() instanceof GameTurn.SpecificEntityTurn) {                    GameTurn.SpecificEntityTurn turn = (GameTurn.SpecificEntityTurn) game.getTurn();                    MovePath mp = continueMovementFor(game.getEntity(turn.getEntityNum()));                    moveEntity(mp.getEntity().getId(), mp);                }                calculateFiringTurn();            } else if (game.getPhase() == Game.PHASE_PHYSICAL) {                PhysicalOption po = calculatePhysicalTurn();                // Bug #1072137: don't crash if the bot can't find a physical.                if (null != po) {                    sendAttackData(po.attacker.getId(), po.getVector());                }                else {                    // Send a "no attack" to clear the game turn, if any.                    sendAttackData( getLocalPlayer().getId(), new Vector(0) );                }            } else if (game.getPhase() == Game.PHASE_DEPLOYMENT) {                calculateDeployment();            } else if (game.getPhase() == Game.PHASE_DEPLOY_MINEFIELDS) {                Vector mines = calculateMinefieldDeployment();                for (int i = 0; i < mines.size(); i++) {                    game.addMinefield((Minefield)mines.elementAt(i));                }                sendDeployMinefields(mines);                sendPlayerInfo();            }        } catch (Throwable t) {            t.printStackTrace();        }    }