serg-meus / k2

Chess engine with UCI and Xboard interface
GNU General Public License v3.0
3 stars 3 forks source link

nothing show during chess engine analysis (uci when test xboard return error) using python-chess on google colab #11

Open sugizo opened 1 year ago

sugizo commented 1 year ago

step !git clone https://github.com/serg-meus/k2 !cd k2 && make !cp k2/k2 /bin/

result when using xboard protocol

[/usr/local/lib/python3.9/dist-packages/chess/engine.py](https://localhost:8080/#) in communicate(self, command_factory)
   1092             self.command._cancel(self)
   1093 
-> 1094         return await command.result
   1095 
   1096     def __repr__(self) -> str:

EngineError: xboard engine did not declare required feature: ping

when using uci protocol image

serg-meus commented 1 year ago

Hi. At the moment the engine is been rewriting from scratch. It has many bugs and partial support of UCI and Xboard protocols. I'll try to add the Xboard ping command, but not soon