Code viewer for Mind: Complex Mind (clone by Man...

// Cloned by Sagnik Chakraborty on 19 Oct 2022 from Mind "Complex Mind (clone by Mandar Kotnis)" by Mandar Kotnis 
// Please leave this clone trail here.
 
AB.mind.getAction=function(A){var T=A[0],n=A[1],I=A[2],o=A[3];return console.log(A),o<n?AB.randomPick(ACTION_UP,AB.randomPick(ACTION_RIGHT,ACTION_LEFT)):o>n?AB.randomPick(ACTION_DOWN,AB.randomPick(ACTION_RIGHT,ACTION_LEFT)):I<T?AB.randomPick(ACTION_RIGHT,AB.randomPick(ACTION_UP,ACTION_DOWN)):I>T?AB.randomPick(ACTION_LEFT,AB.randomPick(ACTION_UP,ACTION_DOWN)):AB.randomIntAtoB(0,3)};