Hi Gerard,
TAILLE wrote:
Here my figure for perft(2) is 184 nodes and the following ones are of course also different.
It seems one of us has a bug, unless your move generator does not remove some duplicate moves? Here is a printout of the depth 2 tree. What additional moves do you have?
perft -d2 -p -f B:W6,9,10,11,20,21,22,23,30,K31,33,37,41,42,43,44,46:BK17,K24.
depth 1: B:W6,9,10,11,20,21,22,23,30,K31,33,37,41,42,43,44,46:BK17,K24.
depth 0: W:W6,37,46:BK17,K29.
depth 0: W:W6,37,46:BK17,K24.
depth 0: W:W6,37,46:BK17,K34.
depth 0: W:W6,37,46:BK17,K40.
depth 0: W:W6,37,46:BK17,K45.
depth 0: W:W6,37,46:BK17,K35.
depth 0: W:W6,37,46:BK13,K17.
depth 0: W:W6,37,46:BK17,K18.
depth 0: W:W6,37,46:BK7,K17.
depth 0: W:W6,37,46:BK2,K17.
depth 0: W:W6,37,46:BK12,K17.
depth 0: W:W6,37,46:BK1,K17.
depth 0: W:W6,37,46:BK17,K19.
depth 0: W:W6,37,46:BK8,K17.
perft(1) 14 nodes, 0.00 sec, 14 knodes/sec
depth 2: B:W6,9,10,11,20,21,22,23,30,K31,33,37,41,42,43,44,46:BK17,K24.
depth 1: W:W6,37,46:BK17,K29.
depth 0: B:WK1,37,46:BK17,K29.
depth 0: B:W6,32,46:BK17,K29.
depth 0: B:W6,37,41:BK17,K29.
depth 0: B:W6,31,46:BK17,K29.
depth 1: W:W6,37,46:BK17,K24.
depth 0: B:WK1,37,46:BK17,K24.
depth 0: B:W6,32,46:BK17,K24.
depth 0: B:W6,37,41:BK17,K24.
depth 0: B:W6,31,46:BK17,K24.
depth 1: W:W6,37,46:BK17,K34.
depth 0: B:WK1,37,46:BK17,K34.
depth 0: B:W6,32,46:BK17,K34.
depth 0: B:W6,37,41:BK17,K34.
depth 0: B:W6,31,46:BK17,K34.
depth 1: W:W6,37,46:BK17,K40.
depth 0: B:WK1,37,46:BK17,K40.
depth 0: B:W6,32,46:BK17,K40.
depth 0: B:W6,37,41:BK17,K40.
depth 0: B:W6,31,46:BK17,K40.
depth 1: W:W6,37,46:BK17,K45.
depth 0: B:WK1,37,46:BK17,K45.
depth 0: B:W6,32,46:BK17,K45.
depth 0: B:W6,37,41:BK17,K45.
depth 0: B:W6,31,46:BK17,K45.
depth 1: W:W6,37,46:BK17,K35.
depth 0: B:WK1,37,46:BK17,K35.
depth 0: B:W6,32,46:BK17,K35.
depth 0: B:W6,37,41:BK17,K35.
depth 0: B:W6,31,46:BK17,K35.
depth 1: W:W6,37,46:BK13,K17.
depth 0: B:WK1,37,46:BK13,K17.
depth 0: B:W6,32,46:BK13,K17.
depth 0: B:W6,37,41:BK13,K17.
depth 0: B:W6,31,46:BK13,K17.
depth 1: W:W6,37,46:BK17,K18.
depth 0: B:WK1,37,46:BK17,K18.
depth 0: B:W6,32,46:BK17,K18.
depth 0: B:W6,37,41:BK17,K18.
depth 0: B:W6,31,46:BK17,K18.
depth 1: W:W6,37,46:BK7,K17.
depth 0: B:WK1,37,46:BK7,K17.
depth 0: B:W6,32,46:BK7,K17.
depth 0: B:W6,37,41:BK7,K17.
depth 0: B:W6,31,46:BK7,K17.
depth 1: W:W6,37,46:BK2,K17.
depth 0: B:WK1,37,46:BK2,K17.
depth 0: B:W6,32,46:BK2,K17.
depth 0: B:W6,37,41:BK2,K17.
depth 0: B:W6,31,46:BK2,K17.
depth 1: W:W6,37,46:BK12,K17.
depth 0: B:WK1,37,46:BK12,K17.
depth 0: B:W6,32,46:BK12,K17.
depth 0: B:W6,37,41:BK12,K17.
depth 0: B:W6,31,46:BK12,K17.
depth 1: W:W6,37,46:BK1,K17.
depth 0: B:W6,32,46:BK1,K17.
depth 0: B:W6,37,41:BK1,K17.
depth 0: B:W6,31,46:BK1,K17.
depth 1: W:W6,37,46:BK17,K19.
depth 0: B:WK1,37,46:BK17,K19.
depth 0: B:W6,32,46:BK17,K19.
depth 0: B:W6,37,41:BK17,K19.
depth 0: B:W6,31,46:BK17,K19.
depth 1: W:W6,37,46:BK8,K17.
depth 0: B:WK1,37,46:BK8,K17.
depth 0: B:W6,32,46:BK8,K17.
depth 0: B:W6,37,41:BK8,K17.
depth 0: B:W6,31,46:BK8,K17.
perft(2) 55 nodes, 0.03 sec, 2 knodes/sec
-- Ed