From 6a92408ef0209e48c2a09ab3c7c33d0e5a8dddce Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 26 Feb 2023 21:08:37 +0300 Subject: feat: finish very basic UCI implementation --- src/grossmeister/mod.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/grossmeister/mod.rs') 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) { - self.board = board; // Copy the board into GM's head - self.iterative_deepening(8) - } -} -- cgit v1.2.3