Re: [computer-go] Time handling on CGOS

2007-01-01 Thread Don Dailey

On Mon, 2007-01-01 at 19:06 +0100, Urban Hafner wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hej,
 I figured I'd ask my question about CGOS here as the documentation is  
 said to be out of date. My question is: Does CGOS do the time  
 handling like KGS, i.e. send a time_left command before every  
 gen_move command?

Yes, it's sends this information via the client just like KGS does.

In the near future I'm going to silently add in a fudge factor to
each move.   It's been brought to my attention that even if a 
program plays instantly,  it will lose a significant amount of
time on each move, perhaps 1/2 second or so.   

So it will probably be 1/4 or 1/2 second I add but your program won't
need to know about this.   I won't allow time to 
accumulate.  You won't have more time left than you did the
move before.

- Don



 Thanks,
 Urban
 - --
 http://bettong.net - Urban's Blog
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (Darwin)
 
 iD8DBQFFmU26ggNuVCIrEyURAu7TAJ9IkUeWYNc9eoXZFSer4NztRyENDwCgrbf+
 x5ryCVBN0FEP+cFqaxtr0Mo=
 =wrgM
 -END PGP SIGNATURE-
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Time handling on CGOS

2007-01-01 Thread Don Dailey
I want to point out that this is not an attempt to be fair about
network lag - if you have a more reliable network your program 
will always have an advantage.

What it tries to do is make it so that the time your bot spends
thinking as reckoned by your local clock is an upper bound on
the time the server thinks you spent.  

- Don


On Mon, 2007-01-01 at 13:18 -0500, Don Dailey wrote:
 In the near future I'm going to silently add in a fudge factor to
 each move.   It's been brought to my attention that even if a 
 program plays instantly,  it will lose a significant amount of
 time on each move, perhaps 1/2 second or so.

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/