timecat 1.52.0

A NNUE-based chess engine that implements the Negamax algorithm and can be integrated into any project as a library. It features move generation, advanced position evaluation through NNUE, and move searching capabilities.
Documentation
1
2
3
4
5
6
7
use super::*;

#[inline]
pub const fn is_checkmate(score: Score) -> bool {
    let abs_score = score.abs();
    abs_score > CHECKMATE_THRESHOLD && abs_score <= CHECKMATE_SCORE
}