aboutsummaryrefslogtreecommitdiff
path: root/src/board/io.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-27 03:41:26 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-27 03:41:26 +0300
commit5e2238ce4ae4ad7bc2d57ee45af866976211e6d3 (patch)
tree6766d57de41fd52fcc319150dc5e2ea8f2da21c1 /src/board/io.rs
parenta333e9285d55dad06b6507340f1c0416c9c7b6f9 (diff)
downloadchessnost-5e2238ce4ae4ad7bc2d57ee45af866976211e6d3.tar.gz
feat: add 3-fold repetition
Diffstat (limited to 'src/board/io.rs')
-rw-r--r--src/board/io.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/board/io.rs b/src/board/io.rs
index d27b856..15d7744 100644
--- a/src/board/io.rs
+++ b/src/board/io.rs
@@ -97,6 +97,7 @@ impl IO for Board {
castling_rights: [[true; 2]; 2], // TODO: actualy parse from FEN
ep_target: None, // TODO: parse from FEN
clock: Clock::default(),
+ positions: Vec::new(),
hash: 0,
zobrist_seed: Board::seed(),
};