private int[] depth = new int[1];
int performDepthChargeFromMove(MachineState theState, Move myMove) {
StateMachine theMachine = getStateMachine();
try {
MachineState finalState = theMachine.performDepthCharge(theMachine.getRandomNextState(theState, getRole(), myMove), depth);
return theMachine.getGoal(finalState, getRole());
} catch (Exception e) {
e.printStackTrace();
return 0;
}