[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] Negotiating a KGS game via kgsGtp
On Mon, 31 Jan 2005 15:24:08 -0600, Richard Brown <rbrown@xxxxxxxxxxxxxxxxx> wrote:
> I wonder if any readers know the answer to my question off the top
> of their heads, before I bug Bill Schubert with a feature request,
> or -- God forbid -- actually try an experiment to find out for myself.
>
> I've been connecting my program[*] to KGS using kgsGtp. So far, so good.
>
> My program is a "ranked robot". (But, since I have yet to implement the
> final_status_list command, it can play only "free" games.) Still good.
>
> Q: Is there a way for my bot to request some handicap other than the default?
>
> My program's human opponent can change the default, of course, using the
> KGS GUI. Then my program complies with the resulting set_free_handicap
> command it receives from the server.
>
> Is there a way I can have my bot negotiate instead of simply complying?
According to the GTP spec, no. Your program MUST comply if able, and
MUST return a properly-formed error if unable.
>
> For example, can my engine send its own set_free_handicap command back
> to the server in an attempt to negotiate with its opponent? Is that it?
There is no way in the spec for the engine to send a command of its own.
>
> I'll experiment, of course, but sometimes it's hard for me to separate
> things that don't work because of something I'm doing wrong, from those
> things that aren't even supposed to work anyway.
>
> So, I'm hopeful that someone out there might already know the answer.
I believe that there is no way to do this with kgsGtp at present; I'd
recommend making a feature request.
Evan Daniel
>
> Thanks.
>
> --
> Rich
>
> [*] I've been working on "Gozilla" <http://www.gozillago.net/> since 1990.
> CAUTION: Both the program and the web site are under construction. Pardon the dust.
>
> _______________________________________________
> computer-go mailing list
> computer-go@xxxxxxxxxxxxxxxxx
> http://www.computer-go.org/mailman/listinfo/computer-go/
>
>
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/