Author: Kevin K
Date: 18:18:19 05/16/05
Hello, Dr. Hyatt.
History moves are only non-capture moves in Crafty.
But your code started for loop of histroy moves from capture move list.
Capture hash_move is already eliminated and killer moves are non-caputre move
also.
case HISTORY_MOVES_1:
for (movep = tree->last[ply - 1]; movep < tree->last[ply]; movep++)
So, how about changing above for loop like below?
tree->next_status[ply].last = tree->last[ply];
case GENERATE_ALL_MOVES:
tree->last[ply] = GenerateNonCaptures(tree, ply, wtm, tree->last[ply]);
tree->next_status[ply].phase = HISTORY_MOVES_1;
case HISTORY_MOVES_1:
for (movep = tree->next_status[ply].last; movep < tree->last[ply]; movep++)
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.