Skip to content

SemsYapar/LichessBot

Repository files navigation

LichessBot

funny bot for lichess.com

This bot is made with the aim of entertainment and enjoyment.

First launch flask server -> satranc_server.py
Second, download tampermonkey plugin (in my experience it works fine for chrome)
Third, copy the code from satranc_bot.js and open a new script in tampermonkey and paste it in
Alternative way for the third step, open tampermonkey and enter the "Utilities" section, enter the "Import from file" section and import the txt file in the repo.

Options:
There are settings you can play in the javascript file; these are; MAX_DELAY and STOCK_DEPTH. MAX_DELAY intentionally extends the playing time of the move, for example, if you do this to 10, moves will be made with random deliberate waits from 0 to 10. STOCK_DEPTH increases the depth level of the stockfish that the server controls, simply put, it determines how many moves ahead stockfish will see.

EXTRA:
You can modify the server to use stockfish more efficiently and powerfully by reading this link -> https://pypi.org/project/stockfish/
I recommend you to install the latest version of stockfish and use it instead of stockfish 10 in the repo now. Github wouldn't let me upload it -> https://stockfishchess.org/download/

About

funny bot for lichess.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors