mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Two steps slider threats on queen
Allow a potential slider threat from a square currently occupied by a harmless attacker, just as the recent "knight on queen" patch. Also from not completely safe squares, use the mobilityArea instead of excluding all pawns for both SlidersOnQueen and KnightOnQueen We now compute the potential sliders threat on queen only if opponent has one queen. Run as SPRT [0,4] since it is some kind of simplification but maybe not clearly one. STC: http://tests.stockfishchess.org/tests/view/5aa1ddf10ebc590297cb63d8 LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 22997 W: 4817 L: 4570 D: 13610 LTC: http://tests.stockfishchess.org/tests/view/5aa1fe6b0ebc590297cb63e5 LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 11926 W: 1891 L: 1705 D: 8330 After this patch is committed, we may try to: • re-introduce some "threat by queen" bonus to make Stockfish's queen more aggressive (attacking aspect) • introduce a concept of "queen overload" to force the opponent queen into passivity and protecting duties (defensive aspect) • more generally, re-tune the queen mobility array since patches in the last three months have affected a lot the location/activity of queens. Closes https://github.com/official-stockfish/Stockfish/pull/1473 bench: 5788691
This commit is contained in:
committed by
Stéphane Nicolet
parent
82697f1193
commit
1093047e7d
@@ -195,7 +195,6 @@ enum Value : int {
|
||||
enum PieceType {
|
||||
NO_PIECE_TYPE, PAWN, KNIGHT, BISHOP, ROOK, QUEEN, KING,
|
||||
ALL_PIECES = 0,
|
||||
QUEEN_DIAGONAL = 7,
|
||||
PIECE_TYPE_NB = 8
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user