aboutsummaryrefslogtreecommitdiff
path: root/src/player.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-26 21:08:37 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-26 21:08:37 +0300
commit6a92408ef0209e48c2a09ab3c7c33d0e5a8dddce (patch)
tree18f067486c30fe0251468b98f5f0d0b76c7206d8 /src/player.rs
parentfe952d63dc26c787350c9b3259d037344241665b (diff)
downloadchessnost-6a92408ef0209e48c2a09ab3c7c33d0e5a8dddce.tar.gz
feat: finish very basic UCI implementation
Diffstat (limited to 'src/player.rs')
-rw-r--r--src/player.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/player.rs b/src/player.rs
deleted file mode 100644
index 0257024..0000000
--- a/src/player.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-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) -> (f32, Vec<Move>);
-}