aboutsummaryrefslogtreecommitdiff
path: root/src/grossmeister/mod.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-26 19:17:58 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-26 19:22:44 +0300
commit3ae684ec1f697f2e34eec755bfeffb20a3a1d856 (patch)
tree96f26c9cb33807b75e6459d933dce6a9b7ea97fd /src/grossmeister/mod.rs
parent40dffd88a018bb3757d7b0e3c97ba0ae4b4e8945 (diff)
downloadchessnost-3ae684ec1f697f2e34eec755bfeffb20a3a1d856.tar.gz
feat: add GUI->engine UCI commands
Diffstat (limited to 'src/grossmeister/mod.rs')
-rw-r--r--src/grossmeister/mod.rs4
1 files changed, 3 insertions, 1 deletions
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<AtomicBool>
+ should_halt: Arc<AtomicBool>,
+ 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,
}
}
}