I'm looking to get a TINY opening book for GNUchess that will help it vary the play. I'm thinking 4-5 moves deep only, just so that people who play will get to experience some randomness in the play. It needs to be TINY so that visitors to my website don't have to wait a long time for downloads. I'm thinking <50kb or even smaller!
Can anyone help with this? I'm happy to pay for your time.
Thanks!!
Erik
Help Create Tiny Opening Book for GNUchess (to vary play)
Moderators: hgm, Rebel, chrisw
-
- Posts: 31
- Joined: Mon Apr 26, 2010 2:47 am
-
- Posts: 12542
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Help Create Tiny Opening Book for GNUchess (to vary play
What version of GnuChess are you using?chessdev wrote:I'm looking to get a TINY opening book for GNUchess that will help it vary the play. I'm thinking 4-5 moves deep only, just so that people who play will get to experience some randomness in the play. It needs to be TINY so that visitors to my website don't have to wait a long time for downloads. I'm thinking <50kb or even smaller!
Can anyone help with this? I'm happy to pay for your time.
Thanks!!
Erik
-
- Posts: 31
- Joined: Mon Apr 26, 2010 2:47 am
Re: Help Create Tiny Opening Book for GNUchess (to vary play
java version, but it shouldn't matter, right? we just need a book.dat file?
-
- Posts: 12542
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Help Create Tiny Opening Book for GNUchess (to vary play
I don't know. I suspect that is true, but I have not tried it.chessdev wrote:java version, but it shouldn't matter, right? we just need a book.dat file?
Reading the Java version of Gnuchess blog, it seems that several bugs were fixed, including some having to do with the book. So I guess that I would want to build the book with the java version.
-
- Posts: 27814
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Help Create Tiny Opening Book for GNUchess (to vary play
Doesn't GNUChess have randomness of its own (under control of the WiBoard random command), even without book?
-
- Posts: 31
- Joined: Mon Apr 26, 2010 2:47 am
Re: Help Create Tiny Opening Book for GNUchess (to vary play
cool. can you help me do that if i give you some PGNs? i just want it to play randomly. maybe a book depth of 8, even. i'd be happy to pay for your time.
-
- Posts: 12542
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Help Create Tiny Opening Book for GNUchess (to vary play
I won't accept pay. Probably later tonight I will take a look. I guess it will only take me 15 minutes.chessdev wrote:cool. can you help me do that if i give you some PGNs? i just want it to play randomly. maybe a book depth of 8, even. i'd be happy to pay for your time.
Tell me the target size for your book and I will make one that fits approximately.
-
- Posts: 31
- Joined: Mon Apr 26, 2010 2:47 am
Re: Help Create Tiny Opening Book for GNUchess (to vary play
target size is under 20kb. all we really need is variety. maybe cutting off the book at 5 or 8 or 10 moves would work. even cutting off at 5 moves would yield thousands of possible games. smaller the better as it has to load in the browser.
-
- Posts: 12542
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Help Create Tiny Opening Book for GNUchess (to vary play
It is very hard to make one an exact size, so I will create a series of books.chessdev wrote:target size is under 20kb. all we really need is variety. maybe cutting off the book at 5 or 8 or 10 moves would work. even cutting off at 5 moves would yield thousands of possible games. smaller the better as it has to load in the browser.
This one is 176,885 bytes:
http://cap.connx.com/chess-engines/new- ... ok.dat.bz2
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: Help Create Tiny Opening Book for GNUchess (to vary play
In GnuChess 5 the random command is a noop.Doesn't GNUChess have randomness of its own (under control of the WiBoard random command), even without book?
It's not clear to me why.