From 4761e353534686c1bb329ec141aaa9afdf47c26e Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Fri, 2 Nov 2018 20:08:36 +0100 Subject: [PATCH] Skip initiative bonus for drop games shogi ELO: 23.49 +-33.7 (95%) LOS: 91.5% Total: 400 W: 208 L: 181 D: 11 euroshogi ELO: 18.26 +-33.5 (95%) LOS: 85.8% Total: 400 W: 203 L: 182 D: 15 minishogi ELO: -6.08 +-33.0 (95%) LOS: 35.9% Total: 400 W: 184 L: 191 D: 25 crazyhouse STC LLR: 2.97 (-2.94,2.94) [-10.00,5.00] Total: 1980 W: 993 L: 940 D: 47 http://35.161.250.236:6543/tests/view/5bdca2176e23db7639060c5a --- src/evaluate.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index ce9aafe..8ef9136 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -861,7 +861,7 @@ namespace { Score Evaluation::initiative(Value eg) const { // No initiative bonus for extinction variants - if (pos.extinction_value() != VALUE_NONE) + if (pos.extinction_value() != VALUE_NONE || pos.captures_to_hand()) return SCORE_ZERO; int outflanking = !pos.count(WHITE) || !pos.count(BLACK) ? 0 -- 1.7.0.4