FitzOReilly / fatalii

Chess engine
MIT License
16 stars 0 forks source link

Exact mate scores #120

Closed FitzOReilly closed 1 year ago

FitzOReilly commented 2 years ago

When a mate has been found, give the exact score with the number of moves instead of a large (positive or negative) centipawn score. UCI spec:

score
* cp <x>
  the score from the engine's point of view in centipawns.
* mate <y>
  mate in y moves, not plies.
  If the engine is getting mated use negative values for y.