It is currently Tue Apr 16, 2024 3:50 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Offline
 Post subject: KGS/SGF treatment of time
Post #1 Posted: Thu Sep 21, 2017 10:29 am 
Dies in gote

Posts: 55
Location: Boston
Liked others: 7
Was liked: 3
Rank: ddk
KGS: jgr314
Sorry that this is a technical question. Can anyone clarify how KGS-generated sgf files deal with playing time?

Some components seem clear:
(1) main time remaining (after?) a move is played are indicated by something like BL[1668.753] indicating "black has 1668.753 seconds left." For white, the equivalent is WL[#]
(2) byo-yomi remaining is indicated by something like WL[30]OW[3] indicating white has three 30second periods remaining. I assume similar for black is BL[30]OB[3]
(3) result determined by a player running out of time is indicated near the start of the file with RE[W+Time]

Here's my confusion: in a recent game, approximately the last 10 moves don't have any time indicated, for either black or white. here's an example from the end of the file:
B[af]BL[304.362]
;W[hq]WL[30]OW[1]
;B[cg]BL[300.299]
;W[fo]WL[30]OW[1]
;B[en]BL[167.222]
;W[ep]
;B[eq]
;W[fp]
;B[gp]
;W[go]
;B[ho]
;W[hp]
;B[gq]
;W[gn]
;B[hr]
;W[ir]
;B[jr]

For what it is worth, black ended the game with about 2 minutes main time remaining (120 seconds).

My questions:
(a) is the amount of byo-yomi time used on each move recorded in some way? If so, I don't see it.
(b) why didn't KGS record the remaining time for the moves at the end of the game? I'd note that these moves weren't played in review after the end of the game, they were normal game moves while the clock was ticking.

Thanks!

Top
 Profile  
 
Offline
 Post subject: Re: KGS/SGF treatment of time
Post #2 Posted: Thu Sep 21, 2017 10:37 am 
Lives in sente

Posts: 902
Location: Fort Collins, CO
Liked others: 319
Was liked: 287
Rank: AGA 3k
Universal go server handle: jeromie
a) No, it is not.

b) I don't know the answer for this. Do you have a link to the whole sgf?

Top
 Profile  
 
Offline
 Post subject: Re: KGS/SGF treatment of time
Post #3 Posted: Thu Sep 21, 2017 1:44 pm 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
You might be interested in the time section of the SGf spec, which shows the standard properties: http://www.red-bean.com/sgf/properties.html#BL

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject:
Post #4 Posted: Thu Sep 21, 2017 1:59 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
Hi jgr,

CGoban also has bugs.
( Not that this case is definitely a bug, but it's a possibility. :) )

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group