// Cloned by Eoin McLaughlin on 12 Nov 2018 from Mind "random_mind" by Eoin McLaughlin // Please leave this clone trail here. function Mind() { this.newRun = function() { }; this.getAction = function ( state ) { console.log("x: " + state[0], "y: " + state[1]) return 2 }; this.endRun = function() { }; }