- Install python.
- Enter Full Path to Stockfish.exe in the "StockFishPath" File.
- Enter Full Path to python.exe in the "PythonPath" File.
- You can now use this api.
- Initialize and save the Port.
- CreateInstance and save the Key.
-
INITIALIZE~
Initializes the api and sets the listener to a new, free, Port.
-
CREATEINSTANCE~
Creates a new instance and responds with the key to that instance.
-
MAKEMOVE~{key}~{from}{to}
Makes a move in the chess engine of the specified instance(key).
-
GETENGINEMOVE~{key}~
Gets the next move from the engine of the specified instance(key).
-
HELLO~{key}~
Writes hello in the api console and responds with success.
-
ECHO~{key}~{message to echo}
Writes the specified message in th eapi console and responds with success.
-
REMOVEINSTANCE~{key}~
Deletes the specified Instance.