Логин: Пароль:
Регистрация нового пользователя
Модератор: 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.


Сообщений на страницу:
Список форумов
Вам не разрешено писать сообщения на этом форуме. Минимальный статус, требуемый для того, чтобы писать на этом форуме - Мозговая Пешка.
Режим: Каждый может объявить
Поиск в сообщениях:  

4. Ноября 2006, 23:53:47
ikkentobi 
There's one thing I don't understand: Why can just one player mark dead stones???
It should of course be like that:

1. One player passes
2. The other player passes too
3. The first player should be asked to mark dead stones
4. The other player should either accept the marked stones (that would finish the game) or give the chance to mark dead stones himself.
6. If the first player doesn't accept the dead stones marked by his opponent the game should continue WIT the possibility to pass again.

Ok, I know this setup could lead to a never ending game with both players not accepting the score but you could limit this sequens to maybe 2 times then the game would automatically send to the Go administrator to say who's the winner.

3. Октября 2006, 21:55:17
ikkentobi 
Субъект: Re: Create SGF files
Fencer: Here ya go:
Game 1: Go (Ceiter vs. ikkentobi) - on my screen this game has A1 in the upper right corner. The resulting BK-SGF is vertically mirrored.

Game 2: Go (ikkentobi vs. stiveletti) - This is an iteresting example. First of all this one throughs an error "Invalid board location "pass" on line 134". Pass should be an empty node like ;B[] or a tt like ;B[tt].
Back to the coordinates. In this game A1 is on my screen at the lower left corner which is right. But the resulting BK-SGF is horizontal mirrored.

FYI:
All SGF-editors that I know have A1 at the lower left corner!
The SGF notation has [aa] at the upper left corner (see http://www.red-bean.com/sgf/go.html)
That means a black move shown by a SGF-editor at A1 should be written ;B[as]

Hope that helps
Tobias

1. Октября 2006, 22:06:54
ikkentobi 
Субъект: Re: Create SGF files
Fencer: Thanx for putting the SGF link. Its a good start but up to now it seems that the code doesn't take care of the changing coordinates directions at BK. So some games are ok, others are mirrored or rotated (actually I don't know why BK does this swapping of coordinate directions).
Like it is now you cannot simply bind the SGF to the coordinates in BK.

Another wish: it would be great to include the players names in the SGF file name.

thx
Tobias

25. Сентября 2006, 14:37:04
ikkentobi 
Субъект: Re: Create SGF files
Fencer: Here is an example:

(;SZ[19]HA[0]KM[5.5]
PB[Ceiter]
PW[ikkentobi]
;B[dp];W[pd]
;B[cd];W[pq]
;B[ec];W[cj]
;B[ch];W[cm]
;B[co];W[jq]
;B[qf];W[pi]
;B[qc];W[qd]
;B[pc];W[od]
;B[rd];W[re]
)


The file on top was created with my proggy.

(; - it starts with an open bracket and a semicolon

SZ - Bordsize
HA - Handicap
KM - Komi
PB - Black Players Name
PW - White Players Name

After the game properties comes the move list.
Every move is seperated by a semicolon.
You could write:

;B[dp]
;W[pd]
;etc.

B stands for Black, W for white
The small letters are the bord coordinates:
aa would be the upper left corner and
ss the lower right on a 19x19 bord.

) - the file ends with a closing bracket

For more information see:
http://www.red-bean.com/sgf/

24. Сентября 2006, 02:46:57
ikkentobi 
Субъект: Create SGF files
Hi Go lovers,

I always wanted to save my brainking Go games as SGF files so I wrote a small program which make that possible.
For download and instructions go to:
http://www.tobias-nagel.nl/public/SGF-Creator.htm

greets
Tobias

Дата и время
Друзья в сети
Любимые форумы
Клубы
Советы
Копирайт © 2002 - 2024 Филип Рахунек, все права зарезервированы.
Наверх