From 3ae684ec1f697f2e34eec755bfeffb20a3a1d856 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 26 Feb 2023 19:17:58 +0300 Subject: feat: add GUI->engine UCI commands --- src/grossmeister/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/grossmeister/mod.rs') diff --git a/src/grossmeister/mod.rs b/src/grossmeister/mod.rs index 10788d5..bd123d4 100644 --- a/src/grossmeister/mod.rs +++ b/src/grossmeister/mod.rs @@ -22,7 +22,8 @@ pub struct Grossmeister { /// It's indexex by Zobrist hash of a position mod size transposition_table: TranspositionTable, - should_halt: Arc + should_halt: Arc, + debug: bool, } impl Default for Grossmeister { @@ -37,6 +38,7 @@ impl Grossmeister { board, transposition_table: vec![None; TTABLE_SIZE as usize], should_halt: Arc::new(AtomicBool::new(false)), + debug: false, } } } -- cgit v1.2.3