diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-01-25 05:18:38 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-01-25 05:18:38 +0300 |
commit | 3522398f7a456b400dc48de4c202a013490cd4fc (patch) | |
tree | fab5655517165e403a0c0965377f38306cc2b155 /src/moves.rs | |
parent | 46b862a25203cb492dd45ba1696a28338a42065b (diff) | |
download | chessnost-3522398f7a456b400dc48de4c202a013490cd4fc.tar.gz |
feat: use transposition table in negamax
Diffstat (limited to 'src/moves.rs')
-rw-r--r-- | src/moves.rs | 2 |
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, |