public String act(int action, WumplusEnvironment we) {
        String result = "";
        if (action == Action.GOFORWARD) {
            result = move(we);
            score += scoreForAction;
        } else if (action == Action.TURN_LEFT) {
            turnLeft();
            score += scoreForAction;
        } else if (action == Action.TURN_RIGHT) {
            turnRight();
            score += scoreForAction;
        } else if (action == Action.GRAB) {
            result = grab(we);
            if (result.equals(""))
                result = shoot(we);
            if (result.equals(""))
                climb();
            score += scoreForAction;
        } else if (action == Action.SHOOT) {
            result = shoot(we);
        } else if (action == Action.CLIMB) {
            climb();
        }

        return result;
    }