Username: Passwort:
Neue User - Registrierung
Moderator: hexkid 
 Go

Discuss about the game of Go or find new opponents.

Beginners:
This TUTORIAL will help you to learn the rules & basics.

More information about Go: senseis library
There is a fellowship dedicated to the game of Go.


Liste der Diskussionsforen
Modus: Jeder kann schreiben
In Postings suchen:  

3. Oktober 2006, 22:09:19
jurek 
Thema: Re: Create SGF files
Fencer: I think there are two different issues here.

The first is that the board orientation is different based on being black or white. For most games on this site (chess, checkers, backgammon, etc), board orientation is of prime importance, but for games like go, it is mostly irrelevant to the game. Most SGF viewers have 1A on the lower left-hand corner. This would account for the rotating that ikkentobi is seeing. Personally, I really don't mind, and I don't see this as a problem.

The second is slightly goofy.
This site has a very good run-down of the SGF file format:
http://www.red-bean.com/sgf/
In particular, this page: http://www.red-bean.com/sgf/go.html
has listed the directionality of the axes slightly different. "aa" is displayed as the upper-left corner of the board (even though that corresponds to 13a or 19a or 9a, depending on the board size) and then continues across and down. So in essence, the vertical number column is inverted, with regards to how it's displayed (a=19, b=18, ..., s=1). This discrepancy would account for the mirroring that ikkentobi is seeing. Again, this isn't *that* big of an issue, but it is inconsistent with the SGF spec.


I also have a wishlist pertaining to the end of the game :)

When the final + move is made and the game is over, the SGF file can have some added tokens to properly show the score. These tokens TW and TB are used to indicate white's and black's (respectively) territory. This also automatically marks dead stones, so nothing extra is needed for that.
The syntax is (as poorly described on http://www.red-bean.com/sgf/go.html): TW[point1][point2][point3]...[point4]
and doesn't include the player's own played stones.
For example, in this game: Go 9x9 (JB007 vs. tenuki)
The output would be:
TW[aa][ba][ca][bb][cb][ac][bc][ad][af][bf][ag][bg][ah][bh][ai][bi][ci][di]
TB[fa][ga][ha][ia][fb][gb][hb][ib][fc][gc][hc][ic][hd][id][he][ie][hf][if][ig]

Datum und Zeit
Freunde Online
Abonnierte Foren
Vereine
Tip des Tages
Copyright © 2002 - 2024 Filip Rachunek, all rights reserved.
Zurück nach oben