mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 08:07:08 +08:00
Revert last tweaks
Tests show no improvment, so revert for now. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -173,14 +173,14 @@ namespace {
|
|||||||
const Value UnstoppablePawnValue = Value(0x500);
|
const Value UnstoppablePawnValue = Value(0x500);
|
||||||
|
|
||||||
// Rooks and queens on the 7th rank (modified by Joona Kiiski)
|
// Rooks and queens on the 7th rank (modified by Joona Kiiski)
|
||||||
const Value MidgameRookOn7thBonus = Value(43);
|
const Value MidgameRookOn7thBonus = Value(47);
|
||||||
const Value EndgameRookOn7thBonus = Value(91);
|
const Value EndgameRookOn7thBonus = Value(98);
|
||||||
const Value MidgameQueenOn7thBonus = Value(28);
|
const Value MidgameQueenOn7thBonus = Value(27);
|
||||||
const Value EndgameQueenOn7thBonus = Value(53);
|
const Value EndgameQueenOn7thBonus = Value(54);
|
||||||
|
|
||||||
// Rooks on open files (modified by Joona Kiiski)
|
// Rooks on open files (modified by Joona Kiiski)
|
||||||
const Value RookOpenFileBonus = Value(42);
|
const Value RookOpenFileBonus = Value(43);
|
||||||
const Value RookHalfOpenFileBonus = Value(24);
|
const Value RookHalfOpenFileBonus = Value(19);
|
||||||
|
|
||||||
// Penalty for rooks trapped inside a friendly king which has lost the
|
// Penalty for rooks trapped inside a friendly king which has lost the
|
||||||
// right to castle.
|
// right to castle.
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ using std::string;
|
|||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// Values modified by Joona Kiiski
|
// Values modified by Joona Kiiski
|
||||||
const Value BishopPairMidgameBonus = Value(106);
|
const Value BishopPairMidgameBonus = Value(109);
|
||||||
const Value BishopPairEndgameBonus = Value(96);
|
const Value BishopPairEndgameBonus = Value(97);
|
||||||
|
|
||||||
Key KNNKMaterialKey, KKNNMaterialKey;
|
Key KNNKMaterialKey, KKNNMaterialKey;
|
||||||
|
|
||||||
|
|||||||
@@ -95,8 +95,8 @@ const Value PieceValueEndgame[17] = {
|
|||||||
|
|
||||||
/// Bonus for having the side to move (modified by Joona Kiiski)
|
/// Bonus for having the side to move (modified by Joona Kiiski)
|
||||||
|
|
||||||
const Value TempoValueMidgame = Value(46);
|
const Value TempoValueMidgame = Value(48);
|
||||||
const Value TempoValueEndgame = Value(28);
|
const Value TempoValueEndgame = Value(21);
|
||||||
|
|
||||||
|
|
||||||
////
|
////
|
||||||
|
|||||||
Reference in New Issue
Block a user