[Welcome to Sensei's Library!]

StartingPoints
ReferenceSection
About


Aliases (info)
SGF

Referenced by
KGSTheKiseidoGoSe...
Kombilo
TextFormattingRules
HowDiagramsWork
CoffeeMachine
KogoSJosekiDictio...
GoServerDiscussion
Jago
GNUGo
WinMGT
GuineaPigsFeedback
SmartGo
GGo
GoPlayingPrograms...
ComputerGo
TurnBasedGoGuild
PandasEgg
MacintoshGo

Homepages
Chtito
Frs
SteffenGlueckselig
Velobici

 

SGF File
    Keywords: Software

SGF is abbreviation for Smart Game Format, which has become probably the most widely used file format on the Internet Go scene today.

The file format is designed to store game records of board games for two players. It's a text only, tree based format. Therefore games stored in this format can easily be emailed, posted or processed with text-based tools. The main purposes of SGF are to store records of played games and to provide features for storing annotated and analyzed games (e.g. board markup, variations).

Most Go servers will be able to send you an SGF file of a game you played. SGF files are used by many Go editing programs and are even used on rec.games.go.

Of course, Sensei's Library also uses SGF files - all the diagrams on SL can be downloaded as SGF simply by clicking on them (see How Diagrams Work).

More information via Arno Hollosi's [ext] SGF user guide including lists on SGF's [ext] Go [ext] properties ([ext] by type).


There's also some discussion about SGF files on SL.


Do you know how to make tsumego on sgf?


Benjamin Geiger:

I'm currently writing a SGF parser, in Python. (Yes, I know there's already one out there, but I'm doing this for my own reasons.)

How common are FF[1]-[3]? Are they likely to be encountered, or is FF[4] exclusively dominant? Is it worth the extra time and code required to load, or generate, the old formats properly?

Arno: if you are writing a general purpose parser you will find no way around FF1-3. It is still in use. Heck, people still use 10 year old GoWrite 1, which produces faulty FF1.

Benjamin Geiger: On the second thought, maybe I'll just use the one that's already out there...


CPAN has a [ext] SGF module for Perl.



This is a copy of the living page "SGF File" at Sensei's Library.
(OC) 2003 the Authors, published under the OpenContent License V1.0.