chesslablab / php-chess

A chess library for PHP.
https://chesslablab.github.io/php-chess/
MIT License
102 stars 46 forks source link

Fix the explanation of the backward pawn evaluation #501

Closed programarivm closed 5 months ago

programarivm commented 5 months ago

The explain() method in Chess\Eval\BackwardPawnEval needs to explain the result obtained in terms of the difference in the $phrase array rather than in absolute terms of what is found. This one is a discrete evaluation.