// =================================================================================================
// Sample Mind for simple starter World
// =================================================================================================
// World tells us agent position and enemy position
// World does not tell us of existence of walls
// if return invalid move (not empty square) World just ignores it and we miss a turn
function Mind() {
//--- public functions / interface / API ----------------------------------------------------------
this.newRun = function()
{
};
this.getAction = function ( x ) // x is an array of [ ai, aj, ei, ej ]
{
return ( 1 ); // Ignore enemy. Just move randomly
};
this.endRun = function()
{
};
}