sagehane / zigo

An opinionated implementation of Go/Baduk/Weiqi
2 stars 1 forks source link

GTP #1

Open folkertvanheusden opened 1 year ago

folkertvanheusden commented 1 year ago

Hi,

Please consider adding a GTP interface to it. That way it can play on-line against other programs and its strength can more easily be determined.

sagehane commented 1 year ago

Hi, thanks for your suggestions.

Please consider adding a GTP interface to it.

I haven't fully read the GTP spec properly so I'm not sure if it's optimal/worthwhile for this implementation. I do understand that it's the standard pretty much everyone agreed upon so there's an appeal to it. The SGF4 save format is an example of something I looked into some time ago but didn't prioritise due to being a tree-based format (which is interesting but probably overkill for non-review games) and having limitations like only supporting board dimensions up to 52x52 (which is perfectly reasonable, I guess).

That way it can play on-line against other programs and its strength can more easily be determined.

This repo currently only provides the implementation of the game itself but doesn't provide any engine. I do intend to work on it in the future though.

Edit: Also, do you happen to know any engines supporting the NZ ruleset? I think most support Japanese/Chinese, but I haven't really checked as this project was mostly meant for learning purposes.