diff options
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) - } -} |