From a0b277d7abfe6094bd44da4b113b00a94f0325a1 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Fri, 20 Jan 2023 16:23:12 +0100 Subject: [PATCH] Less move count pruning for wall gating duck STC ELO: 54.65 +-27.2 (95%) LOS: 100.0% Total: 500 W: 234 L: 156 D: 110 duck LTC ELO: 68.63 +-43.2 (95%) LOS: 99.9% Total: 200 W: 97 L: 58 D: 45 amazons STC ELO: 30.65 +-43.4 (95%) LOS: 91.9% Total: 250 W: 136 L: 114 D: 0 --- src/search.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index fe4d6fb..31449cf 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -80,7 +80,7 @@ namespace { } int futility_move_count(bool improving, Depth depth, const Position& pos) { - return (3 + depth * depth + 2 * pos.blast_on_capture()) / (2 - improving + pos.blast_on_capture()); + return (3 + depth * depth * (1 + pos.wall_gating()) + 2 * pos.blast_on_capture()) / (2 - improving + pos.blast_on_capture()); } // History and stats update bonus, based on depth -- 1.7.0.4