From: Fabian Fichter Date: Fri, 20 Jan 2023 15:23:12 +0000 (+0100) Subject: Less move count pruning for wall gating X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a0b277d7abfe6094bd44da4b113b00a94f0325a1;p=fairystockfish.git 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 --- 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