Add history maluses

This commit is contained in:
stefiosif
2025-03-28 23:35:02 +02:00
parent 2d04a07b2a
commit 6211e5be89
4 changed files with 23 additions and 10 deletions

View File

@@ -11,9 +11,9 @@ pub fn score_move(
mv: Move,
killer_move: Option<Move>,
color: Color,
history_heuristic: &[[[i16; 64]; 64]; 2],
history_heuristic: &[[[i32; 64]; 64]; 2],
tt_move: Option<Move>,
) -> i16 {
) -> i32 {
if Some(mv) == tt_move {
return -100;
}