bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!
Date: Fri, 10 Jan 2003 16:42:37 +0000
User-agent: Mutt/1.4i

On Fri, Jan 10, 2003 at 05:21:12PM +0100, Jim Segrave wrote
> On Fri 10 Jan 2003 (16:09 +0000), Joern Thyssen wrote:
> 
> That's a much nicer idea. I like it a lot better than hand
> coding. But...
> If I do a 1296 game rollout of a mid-match cube decision (I did one
> recently, it took 3 days and told me that the experts on gammonline,
> not surprisingly, are a lot better at cube handling than I am :-)
> you'll end up with a *huge* movelist. If you're writing it on the fly,
> you don't have to save things.

after each game call SaveGame:

pf = fopen ("rollout.sgf", "w+");

loop over games

   SaveGame ( pf, plGame );
   fflush ( pf );
   FreeGame ( plGame );

end loop

fclose ( pf );

However, as Gary writes, gnubg and your system will have a hard time
handling a 1296-game sgf file... but on the other hand, it's probably
not very useful to have 1296 .sgf files either :-)

Jørn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]