// Cloned by Mathias Bazin on 27 Jul 2018 from Mind "First move always" by Mathias Bazin // Please leave this clone trail here. function Mind() { this.newRun = function() { }; this.getAction = function ( state ) { let game = new Chess(state); let move = game.moves()[0]; return move; }; this.endRun = function() { }; }