[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] record a game from the middle
From: |
Gary Wong |
Subject: |
Re: [Bug-gnubg] record a game from the middle |
Date: |
Sat, 4 Jan 2003 22:12:23 -0500 |
User-agent: |
Mutt/1.3.28i |
On Sun, Jan 05, 2003 at 01:18:59PM +1300, Joseph Heled wrote:
> In fibs2html, I adopted the following extension,
>
> Score is 0-0 in a money game.
> gnu2ply is X - gnu2ply is O
> Board: 0 0 0 -2 -2 -2 -2 -2 0 0 0 0 0 0 0 0 0 -1 2 4 4 -2 3 -2
> # Can have 'Bar X: .. O: ..' as well
> O: (5 3) 5-0 5-2
> X: (1 1) 18-17 17-16 16-15 15-14
> O: (4 2) 6-2 6-4
> X: (3 6) 22-16 14-11
> O: (4 2) 4-0 2-0
> X: (5 3) 16-11 11-8
> O: (5 3) 5-0 5-2
> X: (4 3) 11-7 8-5
> O: (2 3) 2-0
> X: (3 3) 8-5 7-4 5-2 5-2
> O: (6 6) 4-0 4-0 4-0 4-0
> X: (1 1) 22-21 21-20 20-19 19-18
> O: (6 4) 2-0 2-0
> X: (5 1) 24-19 19-18
> O: (4 4) 2-0 2-0
> O: wins 3 points
>
> Is there anything similar in sgf or mat? I am looking on how to import
> this to gnubg.
In SGF, you should start the game with setup properties (AE[], AW[], AB[]
are the important ones, to set up the board -- you might also want to
set the cube and dice). Then finish the game as normal. Here is an
example of an endgame which gnubg loads correctly:
(;FF[4]GM[6]PW[gnubg]PB[gary]RE[B+1]
;AE[a:y]AW[a][a][b][b][c][c]AB[x][x][x][x]
;B[21xzxz]
;W[11baazazaz]
;B[33xzxz])
I don't know what equivalent there is in .mat format (which has never
been precisely documented, so far as I know).
Cheers,
Gary.
--
Gary Wong address@hidden http://www.cs.arizona.edu/~gary/