lidraughts.org

Lidraughts Bot

@Libot fork your private repo and change the token to xxxxxxxxxxxxxxx and then make it public this will not show your token

can any of you dumb it down a bit for me? i suck at understanding...

If you want to host it online you can see the steps github.com/AttackingOrDefending/lidraughts-bot/tree/main/heroku or if you want to run it on your computer you can see the steps github.com/AttackingOrDefending/lidraughts-bot.
For an engine you can download Scan (hjetten.home.xs4all.nl/scan/scan.html). Copy or rename the file config.yml.default to config.yml. Create an account and get a bot token (github.com/AttackingOrDefending/lidraughts-bot#lidraughts-oauth). To setup the engine follow the steps github.com/AttackingOrDefending/lidraughts-bot#setup-engine. Edit the variants (supported_variants) and time controls (supported_tc) from the config.yml (use # to disable certain ones).
If you want to run it on your computer:
- Download python
- Install and setup virtualenv
- Run "python lidraughts-bot.py -u" in your cmd
For hosting it on heroku:
- Move all the files from "./heroku" to "."
- In startbot.sh, change "chmod +x ./engines/engine_name" to "chmod +x ./engines/scan_linux" (rename Scan to scan_linux and use the linux version)
- Follow the last 3 steps from github.com/AttackingOrDefending/lidraughts-bot/tree/main/heroku
- Maybe you can deploy from github instead of heroku git and put the token in the environment variable but I haven't tested it.

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

Reconnecting