summaryrefslogtreecommitdiff
path: root/cli/src/eval.rs
blob: 8076af13d0d8cdbd193060cd5bb9aaa145b2bbf1 (plain)
use ai::{CheckersBitBoard, Move};
pub fn eval(depth: usize) -> f32 {
	ai::eval_multithreaded(depth, 0.0, 1.0, CheckersBitBoard::starting_position())
}

pub fn best_move(depth: usize) -> Move {
	ai::best_move(depth, CheckersBitBoard::starting_position())
}