bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] SGF questions


From: Guido Flohr
Subject: [Bug-gnubg] SGF questions
Date: Wed, 23 Mar 2011 12:42:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9

Hi,

I write a client for FIBS, and I want to use SGF as the internal file
format.

I need a place where I can store some state information.  Is it okay to
use the MI property for that?

And what about namespacing? Should I prefix my private tags or rather
write here if I introduce one? I want to avoid bothering people with
warnings about unknown tags, when gnubg sees them.

Another problem is the "autodouble" feature of FIBS.  If autodouble is
switched on by both players the cube is automatically raised one level
if both players roll the same number in the opening roll.  I think I
could use the CV property for that.  But where to put it? Into the root
node or should I create nodes without moves and only DI?

Say, the first three rolls are 66, 22, 31.  I could do it like this:

     (
     ;GM[6]
     ;DI[66]CV[2]
     ;DI[22]CV[4]
     ;DI[31]
     )

Or like this:

     (
     ;GM[6]CV[4]
     ;DI[31]
     )

Or even like this:

     (
     ;GM[6]
     ;DI[31]CV[4]
     )

The first option is likely to confuse the gnubg SGF parser, and maybe
mess up the move counting.  The other two possibilities will lose some
unimportant information.  What should I do?

Guido
-- 
Империя ООД                         | Imperia OOD
ул. „Княз-Борис-I“ № 86, София 1000 | ul. "Knyaz-Boris-I" № 86, Sofia
http://www.imperia.bg/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]