Testing and debugging chess engines

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

Moderator: Andres Valverde

Re: Testing and debugging chess engines

Postby Ron Murawski » 05 Jan 2007, 21:22

Patrice Duhamel wrote:Thank you, With this function, it works.

I found the random numbers I'm using for the hash keys were bad,
I'm using a version of mersenne twister found on the book "Game Programming Gems 4", and I had to call the regenerate function
many times before generating my hash keys to have a good result.


You can find on-line Mersenne twister here:
http://www.math.sci.hiroshima-u.ac.jp/~ ... T/emt.html

Perhaps you will like this 64-bit pseudo-random number generator better
http://burtleburtle.net/bob/rand/isaacafa.html

Ron
User avatar
Ron Murawski
 
Posts: 352
Joined: 26 Sep 2004, 21:50
Location: Schenectady, NY, USA

Previous

Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 3 guests

cron