playstrategy.org

Requesting help in setting up a standard chess bot

Hello friends! I just want to create a bot account that plays only chess variants but do the coding is very hard also I can't understand that. Also I created my bot account. But I'm struggling to convert it to a bot account. Can anyone help me in doing it correctly. Or spot my mistake and correct me. Thanks!

I will repost this. I think maybe the problem is youre trying to do it on a phone when it is impossible. You need PC. The account will only upgrade to a bot account at stage `1`3/14, the first time its run. And the video, you can use it like it is screenshots. Just keep pausing so you can see what they are doing.

1. Install Python

Go here: www.python.org/downloads/

Download and install it.

2. Install Notepad++

notepad-plus-plus.org/downloads/

3. Install 7-Zip

www.7-zip.org/

4. Download the bot files

Go here: github.com/Mind-Sports-Games/playstrategy-bot

Click Code → Download ZIP
Extract it using 7-Zip
Move the folder to your Desktop

5. Download Fairy Stockfish

fairy-stockfish.github.io/download/

Put it inside the engines folder
Rename it to stockfish.exe

Which version to use:

32-bit PC → use 32-bit Stockfish
64-bit PC:
bmi2 (best, for i3/i5/i7/i9 CPUs)
modern (ok)
x64 (weakest)

6. Create a bot account

Go to PlayStrategy
👉 playstrategy.org/signup

Make a NEW account (this is your BOT)
Do NOT play games on it
Verify your email

7. Get your API token

Go here: playstrategy.org/account/oauth/token

Name: Bot token
Tick all boxes
Copy the token

8. Edit config file
Open config.yml.default
Paste your token
Change this line:
url: playstrategy.org
Set anything else you want (time controls, variants, its here you can choose standard only)

9. (OPTIONAL) Make the bot weaker

Open your config and find the engine / UCI options section, then add or edit:

uci_options:
Skill Level: Your choice
Nodes: Your choice

What these do:

Skill Level (0–20): lower = weaker
Nodes: limits how much the engine thinks (lower = weaker/faster)

10. Save the file

Rename:

config.yml.default → config.yml

11. Open Command Prompt

12. Install required stuff

Run these one by one:

python --version
python -m pip install virtualenv
python -m pip install --upgrade pip

13. Set up the bot
virtualenv .\.venv -p python
.\.venv\Scripts\activate
pip install -r requirements.txt

14. Run the bot
python lichess-bot.py -u

15. When you want to run it again later.
cd C:\Users\YOURNAME\Desktop\YOURFOLDER\lichess-bot-master
python lichess-bot.py -u

www.youtube.com/watch?v=oTuZrYCpxNU

Reconnecting