Wanted: Authors of engines without book

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Wanted: Authors of engines without book

Postby Dan Honeycutt » 11 Oct 2004, 01:49

Hi All:

I have rewritten Bruja's opening book and I'll gladly share the code if you are willing to be a guinea pig and let me know of any problems or bugs.

Bruja has a small built-in default book so it's never without a book. I have plans (and hopefully a co-conspirator in the person of Alessandro Scotti) to write a program to build a large book from a pgn file that would use the same code.

The book is easy to integrate into your engine. It is a simple class with one method: GetBookMove(). You have to write a function to fill in the 64 squares with piece values the book understands. It returns a Winboard format move string, ie "e2e4". The book is position based so it can handle all transpositions. It can also handle color reversal should the opening so transpose.

If your engine is lacking a book and you are interested, please post here or email me at dhoneycutt(at)jjg.com (replace (at) with @).

Best
Dan H.
Dan Honeycutt
 
Posts: 167
Joined: 28 Sep 2004, 15:49
Location: Atlanta Georgia, USA

Book

Postby David Weller » 11 Oct 2004, 12:44

Hi Dan,

I have been 'adding' a book to GES for some time now, and still dont have one - too busy tweaking I guess :)

This seems like a generous offer to me!

Even if it just inspires....
User avatar
David Weller
 
Posts: 135
Joined: 26 Sep 2004, 20:30
Location: USA

Re: Wanted: Authors of engines without book

Postby Dan Honeycutt » 11 Oct 2004, 16:14

Hi David

Thanks for your interest. Book sent. I wasn't sure about your email address and the forum email doesn't allow attachments (or maybe I don't know what I'm doing). If it fails to arrive, let me know.

Best
Dan H.
Dan Honeycutt
 
Posts: 167
Joined: 28 Sep 2004, 15:49
Location: Atlanta Georgia, USA

opraus@comcast.net

Postby David Weller » 12 Oct 2004, 03:26

Hi Dan,

No email yet...
Last edited by David Weller on 16 Aug 2006, 11:33, edited 1 time in total.
User avatar
David Weller
 
Posts: 135
Joined: 26 Sep 2004, 20:30
Location: USA

Re: Wanted: Authors of engines without book

Postby Dan Honeycutt » 12 Oct 2004, 04:12

Hi David:

Your address looks like what I had but I may have mistyped something. Just tried again (11 pm eastern). If that fails email me and I'll try with a reply.

Best
Dan H.
Dan Honeycutt
 
Posts: 167
Joined: 28 Sep 2004, 15:49
Location: Atlanta Georgia, USA

GES_125

Postby David Weller » 19 Oct 2004, 01:49

GES_125 is using your book now, just fine.

I stll have that 'pre' call to the function, but it doesnt seem to hurt anything??

I once saw a game where an illegal move was played, but I lost it! So I will keep my eye open for it again - :?
User avatar
David Weller
 
Posts: 135
Joined: 26 Sep 2004, 20:30
Location: USA

update

Postby David Weller » 18 Nov 2004, 14:08

All is well with the book routines

[although, I am certain GES hasnt a clue sometimes what is going on]
User avatar
David Weller
 
Posts: 135
Joined: 26 Sep 2004, 20:30
Location: USA

Re: Wanted: Authors of engines without book

Postby Dan Honeycutt » 18 Nov 2004, 17:16

Hi David:

Glad all is working. I'm making sloooow progress on a book builder.

Re the illegal move: It's quite possible I've entered some uh-ohs. Best is to take a move returned by the book and look it up in your engine's generated move list to make sure it's valid. If you find the culprit let me know. Thanks

Dan H.
Dan Honeycutt
 
Posts: 167
Joined: 28 Sep 2004, 15:49
Location: Atlanta Georgia, USA


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 14 guests