lichess.org
Donate

How do I run my bot?

Since LiChess allows and assists with the creation of Bots, how many of the player accounts do you think are actually bots running in the lobby games?
@DontShadowBan said in #1:
> Since LiChess allows and assists with the creation of Bots, how many of the player accounts do you think are actually bots running in the lobby games?
No normal players can't be bots and bot accounts can't seek in the lobby
#1, if you want to make a demo bot, create a new account on lichess.org, go to easychess.herokuapp.com or hypereasy.herokuapp.com, and authorize your BOT account.
Or if,
You want to make a strong one --
Blog about this topic -- lichess.org/@/SamannOyB/blog/making-a-lichess-bot/RLsNeaPB

Download Shail Chokshi (Official Lichess BOT Driver) -- github.com/ShailChoksi/lichess-bot .

Download Python -- www.python.org

Download Notepad++ -- www.notepad-plus-plus.org

Download your desired Engine (say, Stockfish) -- stockfishchess.org

Now, copy the Stockfish.exe file and paste it in the engines folder of Shail Chokshi.

Now, go back, and in the folder of Shail Chokshi, you will locate a file named config.yml.default. Open the file with notepad++.

Now, go to lichess.org, register a new account(don't play any games in it ) and create an API token. Copy the API token.

Paste the token on the first line of the config.yml file. Read the full document and make your desired changes.

Now save the file, remove the .default.

Now, paste the following commands in CMD :-

python --version
python –m pip install virtualenv
python –m pip install --upgrade pip
virtualenv .\.venv
-p python.\.venv\Scripts\activatepip install –r requirements.txtpython lichess-bot.py –u

If you pasted it okay, then it will be done. Your lichess BOT will be ready. It will display you a welcome message.

You can also watch YouTube for tutorials.

Though making BOTs on lichess is useless if you use Stockfish. Create your own engine.

This topic has been archived and can no longer be replied to.