blob: 26cf0cc95d5d63f40741c8fede1600214dbd6306 (
plain)
1
2
3
4
5
6
7
|
use crate::{board::Board, moves::Move};
pub trait Player {
/// Analyze a position on a given board, giving
/// the score for the side to move and Principal Variation.
fn analyze(&self, board: Board) -> (f32, Vec<Move>);
}
|