public final void tryClaimDraw(String str){
  if (str.startsWith("draw ")) {
    String drawCmd=str.substring(str.indexOf(" ") + 1);
    handleDrawCmd(drawCmd,false);
  }
}

public final void tryClaimDraw ( String str ) { if ( str . startsWith ( "draw " ) ) { String drawCmd = str . substring ( str . indexOf ( " " ) + 1 ) ; handleDrawCmd ( drawCmd , false ) ; } }
try claim a draw using a command string . does not play the move involved in the draw claim if the draw claim is invalid .
