aboutsummaryrefslogtreecommitdiff
path: root/src/moves.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-25 05:18:38 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-25 05:18:38 +0300
commit3522398f7a456b400dc48de4c202a013490cd4fc (patch)
treefab5655517165e403a0c0965377f38306cc2b155 /src/moves.rs
parent46b862a25203cb492dd45ba1696a28338a42065b (diff)
downloadchessnost-3522398f7a456b400dc48de4c202a013490cd4fc.tar.gz
feat: use transposition table in negamax
Diffstat (limited to 'src/moves.rs')
-rw-r--r--src/moves.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moves.rs b/src/moves.rs
index f31d864..66a3be1 100644
--- a/src/moves.rs
+++ b/src/moves.rs
@@ -9,7 +9,7 @@ pub enum MoveKind {
DoublePush,
}
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Move {
pub source: Square,
pub target: Square,