Code: Select all
Delta = 1000; // queen value
if (Score + Delta < alpha) {
// if no move can improve alpha, return
return alpha;
}
This seems super odd to me, and I think it is either a bug in the qSearch that is somehow fixed with that code, or this code helps the Razoring pruning be more effective. Either way though, it is really weird to me.
Is this normal for what people get when implementing delta pruning, or am I missing something in my code?