// Cloned by Benjamin Olojo on 24 Nov 2022 from Mind "Draughts Mind (User Control)" by Graham Bartley
// Please leave this clone trail here.
/*
=============================== Draughts Mind (User Control) ===============================
Written by Graham Edmond Bartley for CA318: Advanced Algorithms and AI Search
Always returns 4 corresponding to ACTION_STAYSTILL. This allows for user input to take control in the World.
*/
function Mind() {
//--- public functions / interface / API ----------------------------------------------------------
this.newRun = function() {};
this.endRun = function() {};
this.getAction = function(x) // x is an array of [ ai, aj, ei, ej ]
{
//allow for keyboard input
return (4);
};
}