jhonnold / berserk

UCI Chess Engine written in C
GNU General Public License v3.0
202 stars 32 forks source link

EP square only when viable #400

Closed jhonnold closed 2 years ago

jhonnold commented 2 years ago

Bench: 5427009

Only calculate the EP square when an enemy pawn is in place to capture it. This will help will three move repetitions where the first position is after a double pawn push.

STC

ELO   | 2.56 +- 4.52 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=8MB
LLR   | 2.96 (-2.94, 2.94) [-5.00, 0.00]
GAMES | N: 10728 W: 2580 L: 2501 D: 5647