KataGo icon indicating copy to clipboard operation
KataGo copied to clipboard

If I want to play with the engine which command should I use?

Open mcguu opened this issue 4 years ago • 6 comments

If I want to play with the trained engine. which command should I use?

mcguu avatar Aug 06 '21 01:08 mcguu

You want to download a GUI program, like KaTrain, q5Go, Lizzie, or other possible choices. KaTrain will handle a lot of the details for you, and might be one of the most user-friendly.

Otherwise, if not using KaTrain, most other GUI programs will talk with KataGo via GTP, where you will manually need to provide them with the command line to run KataGo's gtp interface - see https://github.com/lightvector/KataGo#how-to-use for KataGo's side of that, and see the documentation for your favorite GUI program for your GUI's side of that.

Another way entirely, of course, is to just install nothing and instead play online on a place like OGS or KGS. There are often users running versions of KataGo online on these servers, offering handicap games. Hope that helps!

lightvector avatar Aug 07 '21 01:08 lightvector

@mcguu If you want to play when nature network is training, you can just open shell/cmd/terminal and type "katago gtp -model xxx.bin.gz -config xxx.cfg" and then "genmove B" "play W K10" "genmove B"...

HackYardo avatar Aug 26 '21 09:08 HackYardo

@HackYardo thank you .

I want to use a trained file to play with computer. so I do not need play with users.

there are bin files that is trained. how to use them to find the next step?

for example. I put a step and can search the step by the steps already played.

mcguu avatar Aug 27 '21 00:08 mcguu

I am a bit unfamiliar with your words, "step" is the same to "move"? If you want bot A vs bot B, you can put them in Sabaki, where they can play with each other.

bot≈agent≈model≈weight≈nature network file

HackYardo avatar Aug 27 '21 02:08 HackYardo

@HackYardo yes step means move

I want to develop a UI for the engine(katago).

player A can play with the trained bin file.

mcguu avatar Aug 27 '21 05:08 mcguu

@mcguu

player A can play with the trained bin file.

Is Player A a bot or a human? Unfortunately, they are almost the same in UI develop. Bot-bot is almost twice bot-human. In detail, bot-human + human-human + bot-human == bot-bot. Here are several suggestion:

  1. If it is your first time to develop a UI, you need to learn something about layer, event, frontend, backend, etc.
  2. If you know UI, but not Go UI, you need to learn about GoTextProtocol first.
  3. If you know the above, I don`t know what you are asking in this issue.

HackYardo avatar Aug 29 '21 00:08 HackYardo