]> git.sesse.net Git - stockfish/commitdiff
First attempt at tweaking UnpairedPawnsTable[] values
authorMarco Costalba <mcostalba@gmail.com>
Mon, 19 Apr 2010 05:37:07 +0000 (06:37 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 19 Apr 2010 05:37:07 +0000 (06:37 +0100)
Values by Joona.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/pawns.cpp

index b381b5c4abc3f567cec33c1b7a68964c70e65adf..c6d390b32efb0ea9e9a22276605a0c688485a0ae 100644 (file)
@@ -72,10 +72,7 @@ namespace {
 
   // UnpairedPawnsTable[] gives a score according to the number
   // of panws that do not have an enemy pawn in front of them.
-  const int UnpairedPawnsTable[8] = {
-    SCALE_FACTOR_NORMAL, SCALE_FACTOR_NORMAL, SCALE_FACTOR_NORMAL, SCALE_FACTOR_NORMAL,
-    SCALE_FACTOR_NORMAL, SCALE_FACTOR_NORMAL, SCALE_FACTOR_NORMAL, SCALE_FACTOR_NORMAL
-  };
+  const int UnpairedPawnsTable[8] = { 32, 48, 64, 80, 96, 112, 128, 128 };
 
   // Pawn storm tables for positions with opposite castling
   const int QStormTable[64] = {