[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [computer-go] Storing positions



> I'm not sure if there is actually a standard way to store ONLY
> positions.  The experts here will know better than I do.

The way to store positions in SGF is to create a collection of games and use
the AB[] and AW[] properties to set up the position. For example:

(;GM[1]FF[4]SZ[19]
AB[dc][pd][pj][jp][pp]
AW[dd][jd][dj][dp]
PL[W]
)

(;GM[1]FF[4]SZ[19]
AB[kc][pc][qe][ci][dm][cn][do][pp]
AW[dc][jc][ce][co:cp][dq][fq]
PL[W]
)

> depending on what you are doing with these you would need
> another symbol for ko. I use '!'.

This is actually missing in SGF. There should be a property to mark a
forbidden ko spot when setting up a position, and there isn't. Proposal: A
new property AK[] to mark points forbidden by ko or full-board repetition.

Anders Kierulf
www.smartgo.com

_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/