giewev / Classy

MIT License
1 stars 0 forks source link

Add a service mode #15

Open giewev opened 7 years ago

giewev commented 7 years ago

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

giewev commented 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.

giewev commented 7 years ago

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++