N Engine ELO + - Av.Op. Draws Games
-------------------------------------------------------------------
1 Stockfish 6 64-bit 3474 +14 −14 74.6% −190.4 31.2% 2100
2 Komodo 9 64-bit 3425 +15 −15 69.8% −153.2 30.2% 1800
// An important Chess960 pattern: A cornered bishop blocked by a friendly
// pawn diagonally in front of it is a very serious problem, especially
// when that pawn is also blocked.
if ( Pt == BISHOP
&& pos.is_chess960()
&& (s == relative_square(Us, SQ_A1) || s == relative_square(Us, SQ_H1)))
{
Square d = pawn_push(Us) + (file_of(s) == FILE_A ? DELTA_E : DELTA_W);
if (pos.piece_on(s + d) == make_piece(Us, PAWN))
score -= !pos.empty(s + d + pawn_push(Us)) ? TrappedBishopA1H1 * 4
: pos.piece_on(s + d + d) == make_piece(Us, PAWN) ? TrappedBishopA1H1 * 2
: TrappedBishopA1H1;
}
Powered by mwForum 2.29.3 © 1999-2014 Markus Wichitill