Using web browser to visit game go AI program in remote computer. Remote computer can be personal computer or cloud compute service, now Webgo server part can support leela zero in windows, mac or linux and support Zen6,Zen7 in windows. Then you can play game or analyze kifu with AI.
- Web page based on WGo.js.
- Server side based on Leela Analysis Scripts
- Server side depends on Python module: bottle, gevent and gevent-websocket
- Also use some Sabaki theme, which is my favorite go UI
- Thanks hzy's strongest 4b32f leela-zero weights, I put it together with windows release package
- Download release package and Unzip
- Click start.bat
- Visit page according to console message Here is an example:
please enter URL: http://192.168.1.66:8000/webgo.html
- Compile and run leelazero, please refer to readme of leela-zero
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install boost
git clone -b next https://github.com/gcp/leela-zero.git
Compile leelaz
get weight
- install Webgo
sudo easy_install pip
sudo pip install bottle
pip install --user greenlet
pip install --user gevent
pip install --user gevent-websocket
If failed, maybe need to install pyenv, then using pyenv to install another version python pyenv global 2.7.11 to switch version, but wish you lucky
mkdir github
cd github
git clone https://github.com/zliu1022/Webgo.git -b next Webgo-next
cd Wegbo-next
mkdir dist
- Config engine and weights
cp leelaz ~/github/Webgo/dist/leelaz
cp network.gz ~/github/Webgo/dist/network.gz
- run server and open firewall's corresponding port
python svr/webgo.py
- Compile and run leelazero, please refer to readme of leela-zero
- Install Webgo
sudo apt install python-minimal
sudo apt install python-pip
pip install bottle gevent gevent-websocket
mkdir github
cd github
git clone https://github.com/zliu1022/Webgo.git -b next Webgo-next
cd Wegbo-next
mkdir dist
- Config engine and weights
cp leelaz ~/github/Webgo/dist/leelaz
cp network.gz ~/github/Webgo/dist/network.gz
- run server and open firewall's corresponding port
python svr/webgo.py
Change the command line option in leelaz.py
xargs = ['-t8', '--gpu', '0', '--gpu', '1']
The code is released under the AGPLv3 or later.