-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Allow multiple AIs for the prisoner and the jailer, so that third party developers can submit competing algorithms. Maybe somewhere in the settings would be an option to choose the AI.
This would give rise to perhaps an interesting inter-AI tournament where the best prisoner AIs face off against the best jailer AIs.
The API can be really simple. Each plugin could just be:
ai.prisoner.push(function(state) {
// insert logic here
return nextMove;
});where state would be a 2D array of values and nextMove would be the coordinates of the dot to move to (prisoner) or wall off (jailor).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels