]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Move piece values in piece.h / piece.cpp
[stockfish] / src / position.cpp
index b7272645a3914e896ab7a0ede8311bd04ed2307b..fb0a32f3acf29c56d7231d59b15baeda3c092031 100644 (file)
@@ -71,10 +71,16 @@ struct PieceLetters : std::map<char, Piece> {
     }
 };
 
+
 ////
-//// Variables
+//// Constants and variables
 ////
 
+/// Bonus for having the side to move (modified by Joona Kiiski)
+
+static const Score TempoValue = make_score(48, 22);
+
+
 Key Position::zobrist[2][8][64];
 Key Position::zobEp[64];
 Key Position::zobCastle[16];