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
- 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
- 3B5) Run gtp2ogs.js (beta)
- 3B6) Run gtp2ogs.js (official)
Prerequirements :
- An AI that is compatible with GTP (= Go Text Protocol, so that the bot plays automatically without needing to relay moves manually. If you want to manually relay moves, dont follow this tutorial)
- In main ogs https://online-go.com/ : 1 ogs user account, 1 other ogs user account that will become ogs bot account
- In beta ogs https://beta.online-go.com/ : 1 beta.ogs user account, 1 other beta.ogs user account that will become beta.ogs bot account
- System : windows, linux, mac
- Compute device compatible with your ai : mostly GPU with drivers compatible with your AI (for example for PhoenixGo Nvidia 384, CUDA 9.0 and Cudnn 7.1.4 are known good), it is possible to compute moves with CPU only (no GPU), but it will be much much slower
For example :
- Beta ogs account 1 (will be a beta bot) : https://beta.online-go.com/player/787
- Beta ogs account 2 (will be a beta user bot admin) : https://beta.online-go.com/player/786
- Official ogs account 1 (will be an official bot) : https://online-go.com/player/592558/
- Official ogs account 2 (will be the official user bot admin, you can use your personal account for that) : https://online-go.com/user/view/479173
Now that these prerequirements are fullfilled, we can start the steps :
Note : bot and ai mean the same thing, both words are used in this tutorial