On 7/16/07, Don Dailey <[EMAIL PROTECTED]> wrote:

So what I will do is implement cgos_gameover which gives a reason.
I will also honor the kgs-gameover version when the cgos version is not
supported.



The gtp spec asks that you do cgos-gameover instead of cgos_gameover.  The -
separates the creator of the extension from the command name...



> Personally, I'd prefer the ratings to be separate inputs...  Sticking
> to the KISS principle that seems to be used with most other gtp
> commands.

I hate to separate this, they go together in a natural way.  You
probably would not implement one without the other.   GTP used to have a
separate genmove command for each color and combined them and I can't
see having 4 commands or even 2.   I also don't want to have to hit
programmers with several commands to be implemented.

However, it might be good to separate the ELO rating by making this
command have 4 parameters instead of 2:

   cgos_gameinfo  FatMan 1800  ggmc-x86-1.3Q 2008



That's what I meant.  Sorry for the confusion.  (Also, cgos-gameinfo for the
same reason as above)



Is there any way to give an indication of which one is the engine
> receiving the command?

I don't want to complicate things too much but this is possible because
the client knows the name of the program that logged in.    It could be
implemented without any change to the server, which is what I prefer.
I'm not sure whether it's really a good thing or not and I want to be
stingy about adding GTP commands.    Your bot could determine which
color it was if you pass the name via a command line argument to your
bot:

    ./mybot -gtp -playing-as "JoeBot" -level 10  ...etc



Using the example of "cgos_gameinfo  FatMan 1800  ggmc-x86-1.3Q 2008" above,
and assuming FatMan is black and ggmc-x86-1.3Q is white.  Here's the two
alternatives:

Alternative #1 (self first, opponent second)
 Send to FatMan:
   cgos_gameinfo  FatMan 1800  ggmc-x86-1.3Q 2008
 Send to ggmc:
   cgos_gameinfo  ggmc-x86-1.3Q 2008 FatMan 1800

Alternative #2 (black first, white second.  Indicator as to which is self)
 Send to FatMan:
   cgos_gameinfo  b FatMan 1800  ggmc-x86-1.3Q 2008
 Send to ggmc:
   cgos_gameinfo  w FatMan 1800  ggmc-x86-1.3Q 2008

Regardless of if you use either alternative, I'll be happy to have the info
you suggest.
_______________________________________________
computer-go mailing list
[email protected]
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to