Add history maluses
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user