From 10a68da1249931a6220ca06affa063c187836bbd Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 24 Feb 2023 17:35:35 +0300 Subject: feat: add initial multi-threaded UCI impl --- src/player.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/player.rs') diff --git a/src/player.rs b/src/player.rs index 15f4a86..0257024 100644 --- a/src/player.rs +++ b/src/player.rs @@ -1,8 +1,7 @@ -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); + fn analyze(&mut self, board: Board) -> (f32, Vec); } -- cgit v1.2.3