On Sep 1, 2004, at 4:30 PM, Anders Kierulf wrote:
(This got on the computer Go mailing list by a mail mix-up, but I'll replyDoes it assumes that the first move is Black?
on the list since others may be interested.)
See http://www.smartgo.com/HTML/index.html?compressedgamecollections.htm.I see you made a compressed SGF format, but I did not understand the explanation of it. It seems to be a property S[] that assumes black moves first? - Frank
In SGF, a sequence of moves is represented as follows:
;B[m1];W[m2];B[m3];W[m4];B[m5];W[m6];B[m7];W[m8];B[m9]
(9 x 6 = 54 characters)
In an SGC compressed file, this is written as:
;S[m1m2m3m4m5m6m7m8m9] (4 + 9 x 2 = 22 characters)
Since this is not compatible with SGF, SmartGo uses a different extension
(SGC) for such compressed files. I would encourage other authors of SGF
readers to support this simple compression scheme. For example, this reduces
the GoGoD collection from 40696 KB to 17171 KB (42% of original size). Not
only does it save megabytes on disk, it also speeds up reading large game
collections.