diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-02-26 21:08:37 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-02-26 21:08:37 +0300 |
commit | 6a92408ef0209e48c2a09ab3c7c33d0e5a8dddce (patch) | |
tree | 18f067486c30fe0251468b98f5f0d0b76c7206d8 /src/player.rs | |
parent | fe952d63dc26c787350c9b3259d037344241665b (diff) | |
download | chessnost-6a92408ef0209e48c2a09ab3c7c33d0e5a8dddce.tar.gz |
feat: finish very basic UCI implementation
Diffstat (limited to 'src/player.rs')
-rw-r--r-- | src/player.rs | 7 |
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>); -} |