Skip to content

iKataGo

iKataGo Server

First create an instance of the iKataGo image.

Enter the instance through JupyterLab's terminal or SSH client.

iKataGo is installed in the ~/work folder with built-in 40b weights. When the instance starts, it will automatically select the appropriate configs to replace according to the graphics card, and there is no need to manually select and copy the cfg configuration.

Go to the ~/work folder and execute ./run.sh. If you can directly close the browser window after executing it through the JupyterLab terminal window, the terminal will still run in the background.

cd ~/work

# Replace USER_NAME and USER_PASSWORD with custom account passwords
~/work# ./run.sh USER_NAME USER_PASSWORD
Server Version: 1.6.0
2021/02/04 13:58:37 DEBUG the world is: https://ikatago-fairyland.oss-cn-beijing.aliyuncs.com/world.json
2021/02/04 13:58:37 DEBUG Platform: [all]
2021/02/04 13:58:38 Token will expires at: 2031-02-01 23:59:59 +0800 CST
2021/02/04 13:58:38 [I] [service.go:282] [5b06c59088a928bc] login to server success, get run id [5b06c59088a928bc], server udp port [0]
2021/02/04 13:58:38 [I] [proxy_manager.go:144] [5b06c59088a928bc] proxy added: [kinfkong-ssh-test]
2021/02/04 13:58:38 [I] [control.go:179] [5b06c59088a928bc] [kinfkong-ssh-test] start proxy success

SSH HOST: x.x.x.x
SSH PORT: x

Congratulations! Now ikatago-server is running successfully, waiting for your requests ...

iKataGo Client

Download ikatago-client locally to connect to the server, and add an instance server using Sabaki or Lizzie interface tools. The following is a demonstration of starting a machine-to-machine game with Sabaki under the Windows platform.

Download the client ikatago-1.3.3-win64.zip at [kinfkong/ikatago-client](https://github.com/kinfkong/ikatago-client) , unzip into a directory . Record the absolute path of ikatago D:\ikatago-1.3.3-win64\ikatago.exe.

Download sabaki-v0.52.0-win-x64-setup.exe and install, open Sabaki.

Click Engines - Show Engines Sidebar in the menu bar to display the sidebar.

In the Engines tab click the Attach Engine... button and select Manage Engines....

Fill in 4 lines of engine information in the engine menu.

  • Engine Name: Fill in by yourself. Test
  • Path: the path of the ikatago client, you can click the folder icon in front to select it by browsing. D:\ikatago-1.3.3-win64\ikatago.exe
  • Parameters: ikatago client parameters, the user password is replaced with the user name and password parameters when the server is started. --platform all --username USER_NAME --password USER_PASSWORD
  • Initial command: You can define some command parameters, such as defining a chess game in 10 seconds. time_settings 0 10 1

Click Close when completed.

Click the Attach Engine... button in the engine bar to select the engine you just created. This operation is performed 2 times to generate 2 engine instances.

Click Start Engine vs. Engine Game to start the machine game, and the machine will take a step every 10 seconds. Click the button again to stop the game.