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)
So :
- node.js is a javascript server tool that we will use to run gtp2ogs later
- gtp2ogs is a javascript program used to communicate in both directions (in and out) in GTP language between your AI bot engine (example : PhoenixGo, leela zero, etc..) and the OGS distant board where the game is played
- npm (node package manager) is a package manager that we will use to install gtp2ogs
In this tutorial we use the example of ubuntu because it’s a famous and easy to use linux distribution, but it should work with any linux distribution, especially the most common ones (some steps may slightly differ though)