To chess programmers-book creators: Give a hint

Archive of the old Parsimony forum. Some messages couldn't be restored. Limitations: Search for authors does not work, Parsimony specific formats do not work, threaded view does not work properly. Posting is disabled.

To chess programmers-book creators: Give a hint

Postby Federico Corigliano » 30 Dec 2003, 05:56

Geschrieben von: / Posted by: Federico Corigliano at 30 December 2003 05:56:51:

I'm trying to add in Chispa support for making books from different book formats. My current book entry structure is simple:
{
uint64 hashKey
uint32 gamesWon; // gamesWon are won by white, gamesLost are lost by white
uint32 gamesLost;
uint32 gamesDraw;
}
And now my question: When I import from a RBM book or similar, that don't have info about wins, draws, losses (normal positions, not the marked with "-"), what I must do:
- Add the position as a win
- Add the position as a win, draw and lose simultaneously
- Add the position as a draw
Also I make the same question for Beowulf book format that only have info about games played with each move.
Best regards and Happy new year!
Federico
Federico Corigliano
 

Re: To chess programmers-book creators: Give a hint

Postby Daniel » 30 Dec 2003, 07:15

Geschrieben von: / Posted by: Daniel at 30 December 2003 07:15:25:
Als Antwort auf: / In reply to: To chess programmers-book creators: Give a hint geschrieben von: / posted by: Federico Corigliano at 30 December 2003 05:56:51:
I'm trying to add in Chispa support for making books from different book formats. My current book entry structure is simple:
{
uint64 hashKey
uint32 gamesWon; // gamesWon are won by white, gamesLost are lost by white
uint32 gamesLost;
uint32 gamesDraw;
}
And now my question: When I import from a RBM book or similar, that don't have info about wins, draws, losses (normal positions, not the marked with "-"), what I must do:
- Add the position as a win
- Add the position as a win, draw and lose simultaneously
- Add the position as a draw
Also I make the same question for Beowulf book format that only have info about games played with each move.
Best regards and Happy new year!
Federico
Hi
i asked the same question here but unfortunately i got 0 answers.
I take it as a draw if i don't know the result,but that doesn't seem
to work well so far.I think your idea of taking it as win,draw and lose
simultaneously may be better.or adding another variable to hold unknown
results may help.
Daniel
 

Re: To chess programmers-book creators: Give a hint

Postby Dann Corbit » 30 Dec 2003, 08:22

Geschrieben von: / Posted by: Dann Corbit at 30 December 2003 08:22:57:
Als Antwort auf: / In reply to: Re: To chess programmers-book creators: Give a hint geschrieben von: / posted by: Daniel at 30 December 2003 07:15:25:
I'm trying to add in Chispa support for making books from different book formats. My current book entry structure is simple:
{
uint64 hashKey
uint32 gamesWon; // gamesWon are won by white, gamesLost are lost by white
uint32 gamesLost;
uint32 gamesDraw;
}
And now my question: When I import from a RBM book or similar, that don't have info about wins, draws, losses (normal positions, not the marked with "-"), what I must do:
- Add the position as a win
- Add the position as a win, draw and lose simultaneously
- Add the position as a draw
Also I make the same question for Beowulf book format that only have info about games played with each move.
Best regards and Happy new year!
Federico
Hi
i asked the same question here but unfortunately i got 0 answers.
I take it as a draw if i don't know the result,but that doesn't seem
to work well so far.I think your idea of taking it as win,draw and lose
simultaneously may be better.or adding another variable to hold unknown
results may help.
uint32 gamesUnknown;



my ftp site {remove http:// unless you like error messages}
Dann Corbit
 

Re: To chess programmers-book creators: Give a hint

Postby Albert Bertilsson » 30 Dec 2003, 09:27

Geschrieben von: / Posted by: Albert Bertilsson at 30 December 2003 09:27:45:
Als Antwort auf: / In reply to: To chess programmers-book creators: Give a hint geschrieben von: / posted by: Federico Corigliano at 30 December 2003 05:56:51:
I'm trying to add in Chispa support for making books from different book formats. My current book entry structure is simple:
{
uint64 hashKey
uint32 gamesWon; // gamesWon are won by white, gamesLost are lost by white
uint32 gamesLost;
uint32 gamesDraw;
}
And now my question: When I import from a RBM book or similar, that don't have info about wins, draws, losses (normal positions, not the marked with "-"), what I must do:
- Add the position as a win
- Add the position as a win, draw and lose simultaneously
- Add the position as a draw
Also I make the same question for Beowulf book format that only have info about games played with each move.
Best regards and Happy new year!
Federico
I thought about this when I updated the book format of Sharper. I'm not sure I understand your question, but I would add the position with Won/Lost/Draw = 0. That way you know if the position is previously not played (good to know to make sure that the entire book is eventually explored).
/Regards Albert
Albert Bertilsson
 

Re: To chess programmers-book creators: Give a hint

Postby Federico Corigliano » 31 Dec 2003, 05:18

Geschrieben von: / Posted by: Federico Corigliano at 31 December 2003 05:18:11:
Als Antwort auf: / In reply to: Re: To chess programmers-book creators: Give a hint geschrieben von: / posted by: Daniel at 30 December 2003 07:15:25:
I'm trying to add in Chispa support for making books from different book formats. My current book entry structure is simple:
{
uint64 hashKey
uint32 gamesWon; // gamesWon are won by white, gamesLost are lost by white
uint32 gamesLost;
uint32 gamesDraw;
}
And now my question: When I import from a RBM book or similar, that don't have info about wins, draws, losses (normal positions, not the marked with "-"), what I must do:
- Add the position as a win
- Add the position as a win, draw and lose simultaneously
- Add the position as a draw
Also I make the same question for Beowulf book format that only have info about games played with each move.
Best regards and Happy new year!
Federico
Hi
i asked the same question here but unfortunately i got 0 answers.
I take it as a draw if i don't know the result,but that doesn't seem
to work well so far.I think your idea of taking it as win,draw and lose
simultaneously may be better.or adding another variable to hold unknown
results may help.
I found also in Pepito source code (Pepito can read Beowulf book format) that the moves are added as a win. I don't know exactly why, but my guess is, that the moves are added as a win because are "selected moves". A RBM book have only (or should have) selected moves, guaranteed moves, and that I think it's the reason because should be added as a win.
Federico Corigliano
 


Return to Archive (Old Parsimony Forum)

Who is online

Users browsing this forum: No registered users and 64 guests