pasky / pachi

A fairly strong Go/Baduk/Weiqi playing program
http://pachi.or.cz/
GNU General Public License v2.0
506 stars 117 forks source link

Set engine options over GTP #111

Closed lemonsqueeze closed 5 years ago

lemonsqueeze commented 5 years ago

Adds 2 gtp commands to set/get engine options:

format is the same as toplevel pachi command (comma separated). pachi-setoption adds specified option(s) to current set of engine options. Options set through pachi-setoption persist across engine resets (clear_board etc). You should get a gtp error if option is invalid. Without argument pachi-getoption returns all engine options currently set (comma separated), given option's value otherwise.
pnprog commented 5 years ago

Oh woah, this is cool :+1: