diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-02-24 17:35:35 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-02-24 17:35:35 +0300 |
commit | 10a68da1249931a6220ca06affa063c187836bbd (patch) | |
tree | 7c691ed0c37a369d41e286263d2758f0597e1906 /src/player.rs | |
parent | a7a26f7810e9bc5fec6020324a83a2a89b69ff79 (diff) | |
download | chessnost-10a68da1249931a6220ca06affa063c187836bbd.tar.gz |
feat: add initial multi-threaded UCI impl
Diffstat (limited to 'src/player.rs')
-rw-r--r-- | src/player.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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<Move>); + fn analyze(&mut self, board: Board) -> (f32, Vec<Move>); } |