rvida wrote:lucasart wrote:
And of course no SEE pruning when the node itself is in check, although SF seems to do it with success by pruning certain non capture evasions, I'll probably test something that later).
It should work, just make sure to not return false mate scores. If you prune something while in check you should return alpha-1 instead of mated_in(ply).
Richard
Actually, to avoid that problem, StockFish doesn't do SEE pruning when we're being mated (non PV nodes, where beta=alpha+1<=mated_in(MAX_PLY)).
I'll test your idea, although it seems a little crazy intuitively to do SEE pruning on check evasions, when we know we're already being mated

Although the mate is in another branch of the tree that was explored, so it seems to make sense !