SGF 属性 (FF[4])
走子属性
属性: B
属性值: 走子
属性类型: 走子
功能: 执行一个黑走子。在实战对局集中这是最常用的属性之一。
只要该属性在句法上是正确的,走子就应当被执行,即使该走子不符合规则(例如由KO属性指定的强制走子)。
参看如何执行一个围棋走子。
属性 B 和属性 W 不能处于同一个节点中。
相关属性: W, KO
属性: KO
属性值: 无值
属性类型: 走子
功能: 执行一个由属性 B 或 W 指定的走子,即使该走子不符合规则。
这是一个可选的属性,SGF阅读器本身应当执行所有的走子。
设立该属性是为了使其它应用软件(如计算机对局者)可以更容易处理不符合规则的走子。
在包含属性 KO 的节点中,如果没有黑走子或白走子,则是非法的。
相关属性: W, B
属性: MN
属性值: 数
属性类型: 走子
功能: 设定手数的数值,就是指定该节点中走子具有这个确定的手数。
该属性对于分支或打印很有用。
相关属性: B, W, FG, PM
属性: W
属性值: 走子
属性类型: 走子
功能: 执行一个白走子。在实战对局集中这是最常用的属性之一。
只要该属性在句法上是正确的,走子就应当被执行,即使该走子不符合规则(例如由KO属性指定的强制走子)。
参看如何执行一个围棋走子。
属性 B 和属性 W 不能处于同一个节点中。
相关属性: B, KO
设置属性
限制
属性 AB, AW 和 AE 指定的点必须唯一,就是说,在一个节点中在相同的点上放置不同色的棋子是非法的。不能使用属性 AB, AW 和 AE 改变棋盘,就是说,在已经有黑子的点上再使用属性 AB[] 放置一枚黑子是不好的风格。应用软件会删除这个值并且给出一条警告。属性: AB
属性值: 由棋子组成的列表
属性类型: 设置
功能: 在棋盘上增加黑子。
该属性可用于设置棋形或问题。
增加黑子就是在指定的点用黑子“覆盖”,无论该位置之前是什么情况。
增加棋子不导致任何提子,也不导致任何其它吃子(例如自杀)。
这样可能在棋盘上产生非法的棋子位置。
被指定的点必须唯一。
相关属性: AW, AE, PL
属性: AE
属性值: list of 点
属性类型: 设置
功能: 清除棋盘上指定位置的棋子。
该属性可用于设置棋形或问题。
清除棋子就是在指定的点用无子“覆盖”,无论该位置之前是什么情况。
清除棋子不计入被提子数。
被指定的点必须唯一。
相关属性: AB, AW, PL
属性: AW
属性值: list of 棋子
属性类型: 设置
功能: 在棋盘上增加白子。
该属性可用于设置棋形或问题。
增加白子就是在指定的点用白子“覆盖”,无论该位置之前是什么情况。
增加棋子不导致任何提子,也不导致任何其它吃子(例如自杀)。
这样可能在棋盘上产生非法的棋子位置。
被指定的点必须唯一。
相关属性: AB, AE, PL
属性: PL
属性值: 颜色
属性类型: 设置
功能: 属性 PL 描述轮谁走子。
该属性可用于设置位置或问题。
相关属性: AE, AB, AW
节点注释属性
属性: C
属性值: 文本
属性类型: -
功能: 提供该节点的一段评论文字。
Provides a comment text for the given node. The purpose of
providing both a node name and a comment is to have a short
identifier like "doesn't work" or "Dia. 15" that can be
displayed directly with the properties of the node, even if
the comment is turned off or shown in a separate window.
See text-type for more info.
相关属性: N, ST, V, UC, DM, HO
属性: DM
属性值: 程度
属性类型: -
功能: 形势是两分。
SGF 阅读器应当显示一条信息。
The position is even. SGF viewers should display a
message. This property may indicate main variations in
opening libraries (joseki) too. Thus DM[2] indicates an
even result for both players and that this is a main
variation of this joseki/opening.
This property must not be mixed with UC, GB or GW
within a node.
相关属性: UC, GW, GB
属性: GB
属性值: 程度
属性类型: -
功能: 黑好。
SGF 阅读器应当显示一条信息。
Something good for black. SGF viewers should display a
message. The property is not related to any specific place
on the board, but marks the whole node instead.
GB must not be mixed with GW, DM or UC within a node.
相关属性: GW, C, UC, DM
属性: GW
属性值: 程度
属性类型: -
功能: 白好。
SGF 阅读器应当显示一条信息。
Something good for white. SGF viewers should display a
message. The property is not related to any specific place
on the board, but marks the whole node instead.
GW must not be mixed with GB, DM or UC within a node.
相关属性: GB, C, UC, DM
属性: HO
属性值: 程度
属性类型: -
功能: Node is a 'hotspot', i.e. something interesting (e.g.
node contains a game-deciding move).
SGF viewers should display a message.
The property is not related to any specific place
on the board, but marks the whole node instead.
Sophisticated applications could implement the navigation
command next/previous hotspot.
相关属性: GB, GW, C, UC, DM
属性: N
属性值: 单文本
属性类型: -
功能: Provides a name for the node. For more info have a look at
the C-property.
相关属性: C, ST, V
属性: UC
属性值: 程度
属性类型: -
功能: The position is unclear. SGF viewers should display a
message. This property must not be mixed with DM, GB or GW
within a node.
相关属性: DM, GW, GB
属性: V
属性值: 实数
属性类型: -
功能: Define a value for the node. Positive values are good for
black, negative values are good for white.
The interpretation of particular values is game-specific.
In Go, this is the estimated score.
相关属性: C, N, RE
走子注释属性
Restrictions
Move annotation properties without a move (B[] or W[]) within the same node are senseless and therefore illegal. Applications should delete such properties and issue a warning. BM, TE, DO and IT are mutual exclusive, i.e. they must not be mixed within a single node.属性: BM
属性值: 程度
属性类型: 走子
功能: The played move is bad.
Viewers should display a message.
相关属性: TE, DO, IT
属性: DO
属性值: 无值
属性类型: 走子
功能: The played move is doubtful.
Viewers should display a message.
相关属性: BM, TE, IT
属性: IT
属性值: 无值
属性类型: 走子
功能: The played move is interesting.
Viewers should display a message.
相关属性: BM, DO, TE
属性: TE
属性值: 程度
属性类型: 走子
功能: The played move is a tesuji (good move).
Viewers should display a message.
相关属性: BM, DO, IT
标记属性
Restrictions
CR, MA, SL, SQ and TR points must be unique, i.e. it's illegal to have two or more of these markups on the same point within a node.属性: AR
属性值: list of composed 点 ':' 点
属性类型: -
功能: Viewers should draw an arrow pointing FROM the first point
TO the second point.
It's illegal to specify the same arrow twice,
e.g. (Go) AR[aa:bb][aa:bb]. Different arrows may have the same
starting or ending point though.
It's illegal to specify a one point arrow, e.g. AR[cc:cc]
as it's impossible to tell into which direction the
arrow points.
相关属性: TR, CR, LB, SL, MA, SQ, LN
属性: CR
属性值: list of 点
属性类型: -
功能: Marks the given points with a circle.
Points must be unique.
相关属性: TR, MA, LB, SL, AR, SQ, LN
属性: DD
属性值: elist of 点
属性类型: 后继性
功能: Dim (grey out) the given points.
Have a look at the picture to get an idea.
DD[] clears any setting, i.e. it undims everything.
相关属性: VW
属性: LB
属性值: list of composed 点 ':' 单文本
属性类型: -
功能: Writes the given text on the board. The text should be
centered around the given point. Note: there's no longer
a restriction to the length of the text to be displayed.
Have a look at the FF4 example file on possibilities
to display long labels (pictures five and six).
Points must be unique.
相关属性: TR, CR, MA, SL, AR, SQ, LN
属性: LN
属性值: list of composed 点 ':' 点
属性类型: -
功能: Applications should draw a simple line form one point
to the other.
It's illegal to specify the same line twice,
e.g. (Go) LN[aa:bb][aa:bb]. Different lines may have the same
starting or ending point though.
It's illegal to specify a one point line, e.g. LN[cc:cc].
相关属性: TR, CR, MA, SL, AR, SQ, LB
属性: MA
属性值: list of 点
属性类型: -
功能: Marks the given points with an 'X'.
Points must be unique.
相关属性: TR, CR, LB, SL, AR, SQ, LN
属性: SL
属性值: list of 点
属性类型: -
功能: Selected points. Type of markup unknown
(though SGB inverts the colors of the given points).
Points must be unique.
相关属性: TR, CR, LB, MA, AR, LN
属性: SQ
属性值: list of 点
属性类型: -
功能: Marks the given points with a square.
Points must be unique.
相关属性: TR, CR, LB, SL, AR, MA, LN
属性: TR
属性值: list of 点
属性类型: -
功能: Marks the given points with a triangle.
Points must be unique.
相关属性: MA, CR, LB, SL, AR, LN
根属性
属性: AP
属性值: composed 单文本 ":" 单文本
属性类型: 根
功能: Provides the name and version number of the application used
to create this gametree.
The name should be unique and must not be changed for
different versions of the same program.
The version number itself may be of any kind, but the format
used must ensure that by using an ordinary string-compare,
one is able to tell if the version is lower or higher
than another version number.
Here's the list of known applications and their names:
Application System Name
--------------------------- ----------- --------------------
[CGoban:1.6.2] Unix CGoban
[Hibiscus:2.1] Windows 95 Hibiscus Go Editor
[IGS:5.0] Internet Go Server
[Many Faces of Go:10.0] Windows 95 The Many Faces of Go
[MGT
] DOS/Unix MGT
[NNGS
] Unix No Name Go Server
[Primiview:3.0] Amiga OS3.0 Primiview
[SGB
] Macintosh Smart Game Board
[SmartGo:1.0] Windows SmartGo
相关属性: FF, GM, SZ, ST, CA
属性: CA
属性值: 单文本
属性类型: 根
功能: Provides the used charset for SimpleText and Text type.
Default value is 'ISO-8859-1' aka 'Latin1'.
Only charset names (or their aliases) as specified in RFC 1345
(or updates thereof) are allowed.
Basically this field uses the same names as MIME messages in
their 'charset=' field (in Content-Type).
RFC's can be obtained via FTP from DS.INTERNIC.NET,
NIS.NSF.NET, WUARCHIVE.WUSTL.EDU, SRC.DOC.IC.AC.UK
or
ftp://ftp.imag.fr/pub/archive/IETF/rfc.相关属性: FF, C, text type
属性: FF
属性值: 数 (range: 1-4)
属性类型: 根
功能: Defines the used file format. For difference between those
formats have a look at the history of SGF.
Default value: 1
Applications must be able to deal with different file formats
within a collection.
相关属性: GM, SZ, ST, AP, CA
属性: GM
属性值: 数 (range: 1-16)
属性类型: 根
功能: Defines the type of game, which is stored in the current
gametree. The property should help applications
to reject games, they cannot handle.
Valid numbers are: Go = 1, Othello = 2, chess = 3,
Gomoku+Renju = 4, Nine Men's Morris = 5, Backgammon = 6,
Chinese chess = 7, Shogi = 8, Lines of Action = 9,
Ataxx = 10, Hex = 11, Jungle = 12, Neutron = 13,
Philosopher's Football = 14, Quadrature = 15, Trax = 16,
Tantrix = 17, Amazons = 18, Octi = 19, Gess = 20.
Default value: 1
Different kind of games may appear within a collection.
相关属性: FF, SZ, ST, AP, CA
属性: ST
属性值: 数 (range: 0-3)
属性类型: 根
功能: Defines how variations should be shown (this is needed to
synchronize the comments with the variations). If ST is omitted
viewers should offer the possibility to change the mode online.
Basically most programs show variations in two ways:
as markup on the board (if the variation contains a move)
and/or as a list (in a separate window).
The style number consists two options.
1) show variations of successor node (children) (value: 0)
show variations of current node (siblings) (value: 1)
affects markup & list
2) do board markup (value: 0)
no (auto-) board markup (value: 2)
affects markup only.
Using no board markup could be used in problem collections
or if variations are marked by subsequent properties.
Viewers should take care, that the automatic variation
board markup DOESN'T overwrite any markup of other
properties.
The final number is calculated by adding the values of each
option. Example: 3 = no board markup/variations of current node
1 = board markup/variations of current node
Default value: 0
相关属性: C, FF, GM, SZ, AP, CA
属性: SZ
属性值: (数 | composed 数 ':' 数)
属性类型: 根
功能: 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.
相关属性: FF, GM, ST, AP, CA