Skip to content

Commit

Permalink
Fix rare invalid moves when checkmate in one
Browse files Browse the repository at this point in the history
  • Loading branch information
Tearth committed Nov 28, 2024
1 parent ebde22e commit d90993d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ pub mod see;
pub mod stats;

pub const MAX_DEPTH: i8 = 64;
pub const MIN_ALPHA: i16 = -CHECKMATE_SCORE;
pub const MIN_BETA: i16 = CHECKMATE_SCORE;
pub const MIN_ALPHA: i16 = -32000;
pub const MIN_BETA: i16 = 32000;
pub const TIME_THRESHOLD_RATIO: f32 = 0.5;
pub const DEADLINE_MULTIPLIER: f32 = 2.0;
pub const MAX_MOVES_COUNT: usize = 218;
Expand Down

0 comments on commit d90993d

Please sign in to comment.