- { 37, 0 }, // Pawn
- { 10, 62, 0 }, // Knight OUR PIECES
- { 57, 64, 39, 0 }, // Bishop
- { 50, 40, 23, -22, 0 }, // Rook
- { 98, 105, -39, 141, 274, 0 } // Queen
+ { 36, 0 }, // Pawn
+ { 9, 63, 0 }, // Knight OUR PIECES
+ { 59, 65, 42, 0 }, // Bishop
+ { 46, 39, 24, -24, 0 }, // Rook
+ { 101, 100, -37, 141, 268, 0 } // Queen
+ };
+
+ // PawnsSet[count] contains a bonus/malus indexed by number of pawns
+ const int PawnsSet[FILE_NB + 1] = {
+ 24, -32, 107, -51, 117, -9, -126, -21, 31