@MoonRising cheap solution but ok
@MoonRising cheap solution but ok
@MoonRising cheap solution but ok
hehe cheap but it works
The easiest way is to use BanksiaGUI, it supports bot play on Lichess.
The best way is to use the python script https://github.com/ShailChoksi/lichess-bot
PART 1
Make sure you have:
Python 3. The BOT is purely written in Python. For Windows, you need to download it.
A UCI-compatible chess engine. Try Stockfish (https://stockfishchess.org)
PART 2
First, go to a GitHub lichess-bot repository, e.g. https://github.com/ShailChoksi/lichess-bot
Create a folder in a directory, like Desktop. For convenience, you should rename it so that you can easily remember.
At GitHub, click the rectangular-green button that says "Clone or Download." Download it into the folder.
Once you have downloaded the repository, extract it. Delete the .zip archive and keep only the file.
Now go to lichess. Register and create a new account. Make sure the account hasn't played ANY games.
Once you have created a new account on lichess, go to preferences > API Access Tokens.
PART 3
Create a new access token that ONLY enables "Play games with the bot API". Do not close or leave the page.
Go back to the folder with the lichess-bot files. Copy the text in config.yml.default. Then create a new file, paste the text. Rename it to config.yml Make sure it is a .yml or .yaml file.
Open the config.yml. Delete all of the X's in the token slot. Then go back to your token page and copy the 16-digit/letter token. Paste it in between the quotation marks.
Then go grab your engine and download it into the engines folder.
PART 4
Go back to the config.yml. Replace the engine_name with the exact name of your Stockfish engine.
Make sure you save. (Ctrl + s)
If you scroll down (in the config.yml), you can place #'s on the variants or time controls you don't want to play.
Finally, go back to https://github.com/ShailChoksi/lichess-bot.
Follow the directions for the code needed to be entered in the Terminal/PowerShell/CMD.
:) Enjoy!
i can't make a bot
This topic has been archived and can no longer be replied to.