Games-Go-SGF-Grove
view release on metacpan or search on metacpan
Related: C, FF, GM, SZ, AP, CA
Property: SZ
Propvalue: number
Propertytype: root
Function: Defines the size of the board. If only a single value
is given, the board is a square; with two numbers given,
rectangular boards are possible.
If a rectangular board is specified, the first number specifies
the number of columns, the second provides the number of rows.
Square boards must not be defined using the compose type
value: e.g. SZ[19:19] is illegal.
The valid range for SZ is any size greater or equal to 1x1.
For Go games the maximum size is limited to 52x52.
Default value: game specific
for Go: 19 (square board)
for Chess: 8 (square board)
Different board sizes may appear within a collection.
See move-/point-type for more info.
Related: FF, GM, ST, AP, CA
Game info properties
Property: AN
Propvalue: simpletext
Propertytype: game-info
Function: Provides the name of the person, who made the annotations
to the game.
Related: US, SO, CP
Property: BR
Propvalue: simpletext
Propertytype: game-info
Function: Provides the rank of the black player.
For Go (GM[1]) the following format is recommended:
"..k" or "..kyu" for kyu ranks and
"..d" or "..dan" for dan ranks.
Go servers may want to add '?' for an uncertain rating and
'*' for an established rating.
Related: PB, BT, WR
Property: BT
Propvalue: simpletext
Propertytype: game-info
Function: Provides the name of the black team, if game was part of a
team-match (e.g. China-Japan Supermatch).
Related: PB, PW, WT
Property: CP
Propvalue: simpletext
Propertytype: game-info
Function: Any copyright information (e.g. for the annotations) should
be included here.
Related: US, SO, AN
Property: DT
Propvalue: simpletext
Propertytype: game-info
Function: Provides the date when the game was played.
It is MANDATORY to use the ISO-standard format for DT.
Note: ISO format implies usage of the Gregorian calendar.
Syntax:
"YYYY-MM-DD" year (4 digits), month (2 digits), day (2 digits)
Do not use other separators such as "/", " ", "," or ".".
Partial dates are allowed:
"YYYY" - game was played in YYYY
"YYYY-MM" - game was played in YYYY, month MM
For games that last more than one day: separate other dates
by a comma (no spaces!); following shortcuts may be used:
"MM-DD" - if preceded by YYYY-MM-DD, YYYY-MM, MM-DD, MM or DD
"MM" - if preceded by YYYY-MM or MM
"DD" - if preceded by YYYY-MM-DD, MM-DD or DD
Shortcuts acquire the last preceding YYYY and MM (if
necessary).
Note: interpretation is done from left to right.
Examples:
1996-05,06 = played in May,June 1996
1996-05-06,07,08 = played on 6th,7th,8th May 1996
1996,1997 = played in 1996 and 1997
1996-12-27,28,1997-01-03,04 = played on 27th,28th
of December 1996 and on 3rd,4th January 1997
Note: it's recommended to use shortcuts whenever possible,
e.g. 1997-05-05,06 instead of 1997-05-05,1997-05-06
Related: EV, RO, PC, RU, RE, TM
Property: EV
Propvalue: simpletext
Propertytype: game-info
Function: Provides the name of the event (e.g. tournament).
Additional information (e.g. final, playoff, ..)
shouldn't be included (see RO).
Related: GC, RO, DT, PC, RU, RE, TM
Property: GN
Propvalue: simpletext
Propertytype: game-info
Function: Provides a name for the game. The name is used to
easily find games within a collection.
The name should therefore contain some helpful information
for identifying the game. 'GameName' could also be used
as the file-name, if a collection is split into
single files.
Related: GC, EV, DT, PC, RO, ID
Property: GC
Propvalue: text
Propertytype: game-info
Function: Provides some extra information about the following game.
The intend of GC is to provide some background information
and/or to summarize the game itself.
Related: GN, ON, AN, CP
Property: ON
Propvalue: simpletext
Propertytype: game-info
Function: Provides some information about the opening played
(e.g. san-ren-sei, Chinese fuseki, etc.).
Related: GN, GC
Property: OT
Propvalue: simpletext
( run in 1.630 second using v1.01-cache-2.11-cpan-ceb78f64989 )