Since many people asked me on OGS, i thought it would be a great idea to make :
A tutorial for windows and linux : how to have a bot on OGS.
Using nodejs and npm, and gtp2ogs.
Below is the index of the parts :
1) COMMON : MESSAGE OGS MODERATORS
2) COMMON : GENERATE THE APIKEY
- 3A1) Download and install nodejs and npm
- 3A2) Install gtp2ogs.js with npm
- 3A3) Recommended : Upgrade gtp2ogs.js from old branch to “devel” branch (latest)
- 3A4) Optional : Edit the gtp2ogs.js file (for example show winrate on OGS)
- 3A5) Run gtp2ogs.js (beta)
- 3A6) Run gtp2ogs.js (official)
- 3B1a) Preparations
- 3B1b) Download and install nodejs
- 3B2) Install gtp2ogs.js
- 3B3) Recommended : Upgrade gtp2ogs from old branch to devel (latest) branch
- 3B4) Optional : Edit the gtp2ogs.js file (for example show winrate on OGS)
- 3B5) Run gtp2ogs.js (beta)
- 3B6) Run gtp2ogs.js (official)
This tutorial is long, but it’s only because there are a lot of screenshots.
Also, consider that the length is half what it is if you follow half of instructions : for example if you only want the windows instructions.
All the pictures used for this tutorial are also available in google drive and on github /pictures/.
This tutorial is featuring PhoenixGo because it’s the ai i use : https://github.com/Tencent/PhoenixGo
But it wil work the same for all bots/ai (for
leela zero or other
bots you only need to change path to the executable, and
the --youraiarguments
)
For your convenience a clickable index is available, and at the top of every part of the tutorial, it is clickable so feel free to browse through it.
The current part of the index you are in is highlighted
It is easy to accidentally misclick and play a move instead of your bot.
To avoid accidental misclicks while spectating a game from your bot account, go in Profile Settings.
Select "Submit-Move button" for all games:
come chat with all bot admins and people interested on OGS on the discord here :)
Come challenge my bot on OGS and let's have fun together, bot vs bot
credits for making this tutorial go to : wonderingabout