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

Re: [computer-go] SGF/GoGui Question



I do accept the SGF format. But when I saw D4 in the board, it was
natural to expect dd in the file. Just did not think the flip of the
coordinates is necessary. I only realized it when my program re-run
the saved file, and checked the log file, I saw the different
coordinates.

Thanks for the great GoGui anyway..

On 8/11/05, Markus Enzenberger <compgo@xxxxxxxxxxxxxxxxx> wrote:
> On Thursday 11 August 2005 20:29, Go Fast wrote:
> > I wrote this simple program supporting the GTP protocol. I can play
> > with it by GoGui, and it works fine. However, I am very confused with
> > the file it saved. A play showing in the gtp shelll as O3, is saved as
> > nq. D4 in the screen becomes dq in the file. I have no idea why such
> > conversion is made, should not O3 be oc, D4 be DD? Any ideas?
> 
> the encoding of Go moves in SGF is described here:
> 
> http://www.red-bean.com/sgf/go.html
> 
> the coordinate 'aa' is in the upper left corner, but most printed Go boards
> have 'A1' in the lower left corner, that is why I do the transformation.
> the coordinate 'j' is not omitted in SGF coordinates.
> 
> the reason for the non-human-readable encoding of the moves is historical
> only. it is a bit easier to parse and a bit more space efficient.
> whether that justifies to give up the human-readability was always
> controversial, but SGF is the de-facto file standard for Go games, so I
> would simply accept it :-)
> 
> - Markus
> 
> _______________________________________________
> computer-go mailing list
> computer-go@xxxxxxxxxxxxxxxxx
> http://www.computer-go.org/mailman/listinfo/computer-go/
>
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/