Closed mateusz2173 closed 4 months ago
Implement tapered eval (PeSTO eval) Each piece receives 2 type of scores depending of its position: middlegame score and endgame score.
Final score should be interpolated between middlegame and endgame scores using game phase.
final_score = (middlegame * phase + endgame * (N - phase)) / N where N is max phase (0 <= phase <= N)
final_score = (middlegame * phase + endgame * (N - phase)) / N
N
0 <= phase <= N
Implement tapered eval (PeSTO eval) Each piece receives 2 type of scores depending of its position: middlegame score and endgame score.
Final score should be interpolated between middlegame and endgame scores using game phase.
final_score = (middlegame * phase + endgame * (N - phase)) / N
whereN
is max phase (0 <= phase <= N
)