question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handicap games need special gtp commands

See original GitHub issue

Hi, Following up on https://github.com/pasky/pachi/issues/82, it seems sabaki is sending handicap stones as play b commands instead of using dedicated gtp commands, so engines are mislead into thinking it’s an even game. Pachi resigns high handicap games when playing through sabaki right now because of this.

For chinese rules set_free_handicap / place_free_handicap command should be used to send/get handicap stones. Or just fixed_handicap with japanese rules.

gtp2ogs had the same issue some time ago, could check https://github.com/online-go/gtp2ogs/issues/65 for details.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
rookliftcommented, Nov 8, 2018

Tried just now, it used set_free_handicap D16 D4 K10 Q16 Q4 for an H5 game.

1reaction
rookliftcommented, Jun 10, 2018

Arg! The upgrade hadn’t taken me to Electron 2. Having fixed that, now it works properly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

kgsGtp documentation - Weddslist
Used to set or ask for handicap stone positions. The fixed handicap GTP command is not used. If the game is fixed handicap,...
Read more >
gogui-twogtp - Kayufu
Optional observer and referee GTP Go programs can be used for observing the game and answering commands related to the final game score....
Read more >
cpp/configs/gtp_example.cfg · andy_xzy/KataGo - Gitee.com
set up a handicap game using repeated GTP "play" commands for black rather than GTP "place_free_handicap" commands. # However, it may also lead...
Read more >
kgsGtp at Sensei's Library
It talks GTP to your engine (the Go program), giving commands like ... If you change anything except handicap your game against bot...
Read more >
19. The Go Text Protocol - GNU.org
In order to add a new GTP command to GNU Go, the following pieces of code need to be inserted in 'play_gtp.c': A...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found