From 41789ff0b275e86b2f69b78f84a63b2b645f3e34 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Sat, 3 Nov 2018 19:42:14 +0100 Subject: [PATCH] Tweak piece promotion bonus shogi ELO: 4.34 +-33.0 (95%) LOS: 60.2% Total: 400 W: 190 L: 185 D: 25 euroshogi ELO: 36.62 +-33.8 (95%) LOS: 98.4% Total: 400 W: 215 L: 173 D: 12 minishogi ELO: 15.65 +-32.7 (95%) LOS: 82.6% Total: 400 W: 193 L: 175 D: 32 --- src/evaluate.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 2a598b6..38abcfa 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -346,7 +346,7 @@ namespace { { if (promotion_zone_bb(Us, pos.promotion_rank(), pos.max_rank()) & (b | s)) score += make_score(PieceValue[MG][pos.promoted_piece_type(Pt)] - PieceValue[MG][Pt], - PieceValue[EG][pos.promoted_piece_type(Pt)] - PieceValue[EG][Pt]) / 5; + PieceValue[EG][pos.promoted_piece_type(Pt)] - PieceValue[EG][Pt]) / 10; } // Penalty if the piece is far from the king -- 1.7.0.4