by ucarion · 7mo ago · 0 comments
Stockfish's heuristic for "risk of zugzwang" is basically "only kings and pawns left over", alongside logic for "is null-move pruning even useful right now" [1]:
// Step 9. Null move search with verification search
if (cutNode && ss->staticEval >= beta - 16 * depth - 53 * improving + 378 && !excludedMove
&& pos.non_pawn_material(us) && ss->ply >= nmpMinPly && !is_loss(beta))
{
[0]: https://en.wikipedia.org/wiki/Null-move_heuristic[1]: https://github.com/official-stockfish/Stockfish/blob/1a882ef...
No comments yet.