Code viewer for Mind: Cloned Hand Mind
function Mind(){this.newRun=function(){},this.getAction=function(n){var T=n[0],i=n[1],I=n[2],N=n[3];return N<i?randomPick(ACTION_UP,randomPick(ACTION_UP,randomPick(ACTION_RIGHT,ACTION_LEFT))):N>i?randomPick(ACTION_DOWN,randomPick(ACTION_DOWN,randomPick(ACTION_RIGHT,ACTION_LEFT))):I<T?randomPick(ACTION_RIGHT,randomPick(ACTION_RIGHT,randomPick(ACTION_UP,ACTION_DOWN))):I>T?randomPick(ACTION_LEFT,randomPick(ACTION_LEFT,randomPick(ACTION_UP,ACTION_DOWN))):randomintAtoB(0,3)},this.endRun=function(){}}