Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: move generator bug

Author: Nathan Thom

Date: 20:40:57 02/19/06

Go up one level in this thread


On February 19, 2006 at 22:11:11, Sean Mintz wrote:

>As I try to figure this out, perhaps you have an idea as to what it might be:
>
>[D]8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -
>
>depth   correct       what I get
>
>1 	14            14
>2 	191           191
>3 	2,812         2,812
>4 	43,238        43,238
>5 	674,624       674,624
>6 	11,030,083    11,030,078
>
>So, at a depth of 6 ply, I come up 5 moves short.
>
>Sean

If you make/unmake then put in extra checks to ensure the result of the unmake
is the same as what you started with. If you copy and make, have as many
verification points as you can think of until you find the error.

I have an option (actually a #define) where i turn on all sorts of paranoid
checking/verifying, and that has found many bugs I would otherwise have missed.
It makes the engine about 10x slower, but does the trick ;)



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.