Start a cgos server and web page builder.
python3 -m pip install -r requirements.txt
python3 cgos/server.py cgos19.ini &
python3 cgos/webuild.py cgos19.ini &
If you used previous version, migrate database.
sqlite3 /path/to/cgos.state < db/migrate-001-create-games-index.sql
GTP Client can send winrate, score and pv via cgos-genmove_analyze
, lz-genmove_analyze
or kata-genmove_analyze
commands.
And WGo.js show these analysis.
See Wiki.
% telnet localhost 1919
< protocol genmove_analyze
e1 telnet
< username
admin
< password
pass123
who
< gnugo8 waiting 0 1702.4092782840737 3.0
< ray-10s-b waiting 0 1668.129179991671 3.0
match ray-10s-b gnugo8 300 300
< match-> ray-10s-b(1658) gnugo8(1713)
games
< ...
< match 4841 2023-05-14 10:56 9 7.0 ray-10s-b(1658) gnugo8(1713) - - - B+4.0
< match 4842 - - 9 7.0 gnugo8(1714) ray-10s-b(1657) 60000 60000 17 -
games
< ...
< match 4841 2023-05-14 10:56 9 7.0 ray-10s-b(1658) gnugo8(1713) - - - B+4.0
< match 4842 2023-05-14 11:00 9 7.0 gnugo8(1714) ray-10s-b(1657) - - - W+Resign
How to build from source:
- Add tclkit to your path a. Identify your platform specific tclkit in third_party directory b. Make a copy (called tclkit) somewhere in your path (~/bin and /usr/bin are good candidates for unix systems)
- Go into the directory of the component you wish to build (e.g. client)
- Run gnu make (on unix systems, this should just be 'make')
Is there no tclkit for your environment in the repository? Other kits can be downloaded from http://www.equi4.com
Don't have gnu make? You have two options: Option 1: Obtain gnu make Option 2: Run individual commands out of the makefile (e.g. sdx wrap)