jhonnold / berserk

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

Bug of making losing moves without calculation #528

Closed PavelChess closed 7 months ago

PavelChess commented 7 months ago

Hi! There is bug in Berserk 12 that sometimes causes it to make losing moves that blunder piece or rook or queen or even checkmate.

This bug happened almost all times after many moves without captures or pawn moves.

I have looked Berserk 12 games at database of CEGT at CEGT Downloads 40/20 - All games part 2 without comments

There are 1528 games of Berserk 12 in the database. From 24 lost white games 18 were lost because of this bug. And from 82 black games there are about 25 such losses.

Please fix this bug.

jhonnold commented 7 months ago

It was addressed here: https://github.com/jhonnold/berserk/commit/ad67ba75ca2d0ecd889289652c9be1fb679ad256