Open PaMeirelles opened 9 months ago
It should be an enum with a "real_evaluation" case, and a "mate in x" case, both storing isizes, once it is implemented, we can substitute the old one on the SearchResult:
pub struct SearchResult{ pub mv: Move, pub eval: Option<isize>, pub pv: Option<Vec<Move>>, }
And also substitute the terrible constant in Flop's search:
const BIG_ENOUGH_VALUE:isize = 10000;
When the latter is accomplished, together with the changes to get_best_move made in #34 should be enough to close #25
It should be an enum with a "real_evaluation" case, and a "mate in x" case, both storing isizes, once it is implemented, we can substitute the old one on the SearchResult:
And also substitute the terrible constant in Flop's search:
When the latter is accomplished, together with the changes to get_best_move made in #34 should be enough to close #25