[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] GTP and Tourney in SmartGo 1.4




I am starting to feel like an old man who has been used to GTP for all
his life, got accustoned to its benefits and is just unable to
understand any of the reasons why the younger generation dislikes it...


On Fri, 12 Mar 2004, A van Kessel wrote:

> > translated into \r\n pairs... I don't know if this will be happening in
> > this case, but I'd rather not have to worry about it at all.
>
> This is a historic pain. We 'll have to deal with it.
> I think the simplest way to handle \r is to just ignore
> them.

That is exactly what GTP does.

> > Another thing I don't like about GTP is the fact that the controller does
> > not have to wait for an answer before sending its next message. I see no
> > merit in this. It simply makes debugging harder.
>
> I fully agree. But: there is no other way.
> Since the program's response is influenced
> by it's internal (board)state, it is -in general-
> not possible to think of the next GTP-command before
> having read the first one's response.
> a related topic is the implicit ordering of commands.
> [ it would be a nice feature to inspect a program's internals,
> while it is executing/processing a command. GTP won't let you]

I am confused. First you say the controller should wait with issuing the
next command until it got the answer of the previous one.

> The sequencenumbers in the GTP request/respons lines serve
> *no* purpose. They are just grep-beef.

> not to play games. The absence of rules and timing
> causes these to be handled in a program-specific way.

What do you mean by "absence of timing"?

> The timing is the wordt part: it causes too much
> logic to be placed into the GTP controller ("driver")
> program. This logic is program specific, and since
> there is no "language" for expressing them (to the
> other end of the connection) it is also tournament-
> specific...

Did you look at time_settings and time_left? What else should there be?

Arend

_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://computer-go.org/mailman/listinfo/computer-go