]> git.sesse.net Git - stockfish/commitdiff
Passed pawns evaluation tweak
authorMarco Costalba <mcostalba@gmail.com>
Mon, 25 May 2009 14:48:47 +0000 (15:48 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 29 May 2009 06:30:58 +0000 (08:30 +0200)
Do not penalize if in our adavncing pawn's path there are
non-pawns enemy pieces. Especially if they can be attacked
by us.

Patch is mine, but original idea and also fixing of a first, wrong,
version of the patch is from Eelco de Groot.

Tests with Joona framework seems to confirm patch is good

Results for patch 'disabled'   based on 5776 games: Win percentage:
41.309  (+- 0.526)  [+- 1.053]
Results for patch 'enabled'  based on 6400 games: Win percentage:
42.422  (+- 0.500)  [+- 1.000]

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found