last step to create a chess engine

Discussion of chess software programming and technical issues.

Moderator: Ras

avo_k
Posts: 3
Joined: Sun Oct 18, 2020 5:49 pm
Full name: Jean Lelong

last step to create a chess engine

Post by avo_k »

hi,
Sorry in advance if my problem seems really simple, I really looked for an answer without success.

I coded a python chess engine and I want to be able to play it on lichess, I have a lichess-bot account and I am reaching the API with ShailChoksi lichess-bot https://github.com/ShailChoksi/lichess-bot and it works, for example with stockfish.

I created a uci file in python based on Sunfish's one https://github.com/thomasahle/sunfish/b ... ter/uci.py and then I changed it to .exe with pyinstaller. the file is now a .exe that when launched can receive some text as input (the uci commands) and outputs what it is supposed to (the moves, the authors, isready and so on).

But my uci.exe file doesn't work with ShailChoksi lichess-bot and I can't understand why.
If I was unclear or you need more information do not hesitate to ask, thanks in advance if you can help me.
avo_k
Posts: 3
Joined: Sun Oct 18, 2020 5:49 pm
Full name: Jean Lelong

Re: last step to create a chess engine

Post by avo_k »

problem solved with Berserk ! https://pypi.org/project/berserk/