Consider gating pieces in SEE
authorFabian Fichter <ianfab@users.noreply.github.com>
Tue, 24 Nov 2020 22:32:59 +0000 (23:32 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Tue, 24 Nov 2020 22:32:59 +0000 (23:32 +0100)
commitcd44ac3fa54f2025f91a264543cd2aca08dddd7a
tree68241af2eff3c5f8ecb61f831c461ca86fde89b7
parent14f6c9d9871bcfdb60c247dea2090c7805762881
Consider gating pieces in SEE

Consider king captures as illegal if attacked by gating piece.

seirawan STC
LLR: -1.04 (-2.94,2.94) [0.00,10.00]
Total: 9842 W: 3420 L: 3320 D: 3102
http://www.variantfishtest.org:6543/tests/view/5fb8369c6e23db221d9e9400

seirawan LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 1483 W: 494 L: 453 D: 536
http://www.variantfishtest.org:6543/tests/view/5fb90fbf6e23db221d9e9407

Closes #210.
src/position.cpp