- A bridge between Lichess API and bots.
- This bot is made with Python and it is running using stack container and is concentrated on heroku.
- Engine Stockfish (dev)
- Using standard book Cerebellum3Merge.bin
- using antichess book bestanti
- using books other all variants too!
- Import or Fork this repository to your Github.
- Open the
config.ymlfile and insert your API access token in to token option and commit changes over here. - Install Heroku CLI and create a new app in Heroku.
Do note that in certain operating systems Heroku CLI doesn't get added to path automatically. If that's the case you'll have to add heroku to your path manually. - Run this command in cmd or powershell
heroku stack:set container -a appname, whereappnameis replaced with your Heroku app's name. - In heroku, in the
Deploytab click onConnect to GitHuband then click onsearchand select your fork/import of this repository. - Now scroll down and under
Manual deploy, click ondeploywith themasterbranch selected.
Note: You could alsoEnable Automatic Deployswith themasterbranch selected if you would like each commit you make to get automatically and easily deployed onto your bot. It is your choice whether you'd like to Enable or Disable Automatic Deploys. - After deploying wait for about 5 minutes till the build finishes and then in the
Resourcestab in heroku turnworkerdynos. If you do not see any option to enable any dynos, then you'll have to wait for about 5 minutes and then refresh your page on heroku.
You're now connected to lichess and awaiting challenges! Your bot is up and ready!
- now your bot playing all variants, But standard is not strongest like stockfish dev (but only standard)
- you can change (if you need standard but) change this 6th line of config.yml type on type on
fairy-sforchess-engineafter' sure so strongest for standard but not play other variants. again if you need play all variants change this again 6th line of config.yml type onfsforfairy-sfthen play all variants (But standard so strogest)
- you can change 96th line of config.yml type on
true, then wait 2 mins during auto deploy (without playing) , after your bot will accept
