Author: Uri Blass
Date: 05:42:23 10/31/02
I had in the qsearch of movei if (piece(gen_dat[i].m.b.from!=KING)) and not if (piece(gen_dat[i].m.b.from)!=KING) Inspite of this problem the code that included that line made movei better. I dicovered it when I tried to optimize movei and replace the code by a faster code. I do not write all the faster code and test but I write every time a very small part and test if the number of nodes in the opening position is the same. If the number is not the same I try to find bugs(usually they are bugs in the new code but in that case it was a bug in the old code). The result of that bug is that not public movei extends in the qsearch lines that it should not extend(for example after 1.e4 d5 2.Nc3 e6 3.exd5 exd5 movei extends Ke2 in the qsearch as one of the giving check moves). Uri
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.