]> git.sesse.net Git - stockfish/commit
Knight threats on Queen
authorStéphane Nicolet <cassio@free.fr>
Wed, 7 Mar 2018 21:12:29 +0000 (22:12 +0100)
committerStéphane Nicolet <cassio@free.fr>
Wed, 7 Mar 2018 21:12:29 +0000 (22:12 +0100)
commit6d8f583af26daa1c158324d5c13cf01b17c746a5
tree2f07c3e6ca696aa926941e0aacf156a7b2d2e665
parent56a104e2e0c3ec8b156ca1bee0e26c1378459550
Knight threats on Queen

We give a S(21,11) bonus for knight threats on the next moves
against enemy queen. The threats are from squares which are
"not strongly protected" and which may be empty, contain enemy
pieces or even one of our piece at the moment (N,B,Q,R) -- hence
be two-steps threats in the later case because we will have to
move our piece and *then* attack the enemy queen with the knight.

STC: http://tests.stockfishchess.org/tests/view/5a9e442e0ebc590297cb6162
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 35129 W: 7346 L: 7052 D: 20731

LTC: http://tests.stockfishchess.org/tests/view/5a9e6e620ebc590297cb617f
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 42442 W: 6695 L: 6414 D: 29333

How to continue from there?

• Trying to refine the threat condition ("not strongly protected")
• Trying the two-steps idea for bishops or rooks threats against queen

Bench: 6051247
src/evaluate.cpp
src/pawns.cpp