Skip to content

zakki/cgos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Go Server

Python Server

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

genmove_analyze extention

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.

Administrator extention

% 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

Original Tcl Server

How to build from source:

  1. 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)
  2. Go into the directory of the component you wish to build (e.g. client)
  3. 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)