return DrawValue[pos.side_to_move()];
// Step 3. Mate distance pruning. Even if we mate at the next move our score
return DrawValue[pos.side_to_move()];
// Step 3. Mate distance pruning. Even if we mate at the next move our score
// Step 4. Transposition table lookup
// We don't want the score of a partial search to overwrite a previous full search
// Step 4. Transposition table lookup
// We don't want the score of a partial search to overwrite a previous full search