[Top][All Lists]
[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:09:48 +0000 |
User-agent: |
Mutt/1.4i |
On Fri, Jan 10, 2003 at 01:31:20PM +0100, Jim Segrave wrote
> On Thu 09 Jan 2003 (17:10 -0500), Gary Wong wrote:
> I was idly looking at what it would take to write .sgf format files of
> rollouts. I think it's not too hard to do.
I don't think you need to write the .sgf file while doing the rollout.
I think it can be accomplished by having a local matchstate and plGame in
BasicCubefulRollout, and then call AddMoveRecord[*] for each move and
cube decision (check play.c where there is lot's of examples
around). At the end, you just call SaveGame from sgf.c.
You have to set board, cube position etc first. See CommandSavePosition
for an example.
This approach should be very generic.
We can add new moverecords for truncation (either bearoff or just normal
truncation), and a new moverecord for the rollout result (win, lose +
variance reduction for this game).
Jørn
[*] You have to write a wrapper for AddMoveRecord as it operates on the
global matchstate ms.
- [Bug-gnubg] Re: No more need to panic about backgame play anymore, Joseph Heled, 2003/01/07
- Message not available
- [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joseph Heled, 2003/01/08
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Jim Segrave, 2003/01/08
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Jim Segrave, 2003/01/08
- [Bug-gnubg] 100 games rollout moves, Jim Segrave, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joern Thyssen, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Jim Segrave, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Gary Wong, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Jim Segrave, 2003/01/10
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Gary Wong, 2003/01/10
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!,
Joern Thyssen <=
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joern Thyssen, 2003/01/10
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Jim Segrave, 2003/01/10
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joern Thyssen, 2003/01/10
Message not available
- [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joseph Heled, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joern Thyssen, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joseph Heled, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joern Thyssen, 2003/01/09
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joseph Heled, 2003/01/10
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Joseph Heled, 2003/01/10
- Re: [Bug-gnubg] Re: Naw..panic or teach me what I am doing wrong !!, Neil Kaz, 2003/01/09