[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] Storing positions
> Is there a standard format for storing Go positions in a compact way
> that is easy for both humans and programs to parse?
Ascii board diagrams (. for empty, @ or # for black, O for white). Very
easy for humans, fairly easy for programs. It maybe fails the "compact"
requirement. It also has carriage-returns.
I also store board positions in binary format (in recent code I'm using
Boost's serialization library), but just to save time loading/parsing
rather than saving disk space.
> From the little that I've looked at SGF it seems rather complex for
> simply storing a position.
SGF is difficult to parse for humans and computers, and not that
compact: but it is established, so fighting it will just be wasted effort.
Darren
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/