Open giewev opened 7 years ago
Pending some experimentation, I think I'm going to try out setting up a python/flask wrapper around the chess engine using ctypes.
Ctypes was a bad idea for this, going to have to either figure out how to do REST in C++, or find an IPC library for Python/C++
Create a way to start the engine and leave it running, waiting for commands.
In this state it should be able to receive FENs, along with either a search depth or a search time, and return the corresponding best move.
Ideally, it should also be able to maintain its internal state for things like transposition tables, so that they are not wasted if a user makes a followup move