aboutsummaryrefslogtreecommitdiff
path: root/src/player.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-24 17:35:35 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-24 17:35:35 +0300
commit10a68da1249931a6220ca06affa063c187836bbd (patch)
tree7c691ed0c37a369d41e286263d2758f0597e1906 /src/player.rs
parenta7a26f7810e9bc5fec6020324a83a2a89b69ff79 (diff)
downloadchessnost-10a68da1249931a6220ca06affa063c187836bbd.tar.gz
feat: add initial multi-threaded UCI impl
Diffstat (limited to 'src/player.rs')
-rw-r--r--src/player.rs3
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>);
}