On Thu, May 04, 2006 at 09:22:18PM +0200, Øystein Johansen wrote: > Christian Anthon wrote: > > On Thu, May 04, 2006 at 08:18:41PM +0200, Øystein Johansen wrote: > > Could you elaborate a bit. I don't understand what feature it is and > > would like to know what the bad design is. > > It's the move record and match record data structure that has a bad > design. To set up a positon is like adding a move record with the move > type 'set board' and then another move record with 'set matchid'. Each > node in the move record is union. The move record and match record works > like a linked list. > > So if you you want to satrt a new 'position' there has to be a match > record, and there has to be a game record inside that list, and there > has to be the to move records of type 'set board' and 'set matchid'. >
But, since one can load a position from a .sgf file without any previous setup, I would think it was possible to set up a new position without any previous setup as well. You loose any previous move record, but that might be minor. Christian. _______________________________________________ Bug-gnubg mailing list Bug-gnubg@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnubg