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/grossmeister/mod.rs | |
parent | fe952d63dc26c787350c9b3259d037344241665b (diff) | |
download | chessnost-6a92408ef0209e48c2a09ab3c7c33d0e5a8dddce.tar.gz |
feat: finish very basic UCI implementation
Diffstat (limited to 'src/grossmeister/mod.rs')
-rw-r--r-- | src/grossmeister/mod.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/grossmeister/mod.rs b/src/grossmeister/mod.rs index db9cb58..3473d1e 100644 --- a/src/grossmeister/mod.rs +++ b/src/grossmeister/mod.rs @@ -1,6 +1,6 @@ use std::sync::{atomic::AtomicBool, Arc}; -use crate::{board::Board, player::Player, moves::Move}; +use crate::{board::Board, moves::Move}; use self::ttable::{TranspositionTable, TTABLE_SIZE}; mod ttable; @@ -42,10 +42,3 @@ impl Grossmeister { } } } - -impl Player for Grossmeister { - fn analyze(&mut self, board: Board) -> (f32, Vec<Move>) { - self.board = board; // Copy the board into GM's head - self.iterative_deepening(8) - } -} |