use std::time::Duration; 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(&mut self, board: Board, duration: Duration) -> (f32, Vec); }