// Cloned by David Jusev on 1 Dec 2022 from Mind "Complex Mind (clone by Dillan de Langen)" by Dillan de Langen
// Please leave this clone trail here.
AB.mind.getAction=function(A){console.log("state",A);var T=A[0],n=A[1],I=A[2],o=A[3];return 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)};