Skip to content

Commit a67e83d

Browse files
authored
Merge pull request #2 from DkeRee/Add-Check-Extension
Add check extension + Fixed ply calculation
2 parents 279795e + 9a529b7 commit a67e83d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ I aspire to get Trinket to 3000 elo one day, but only time will tell for that ;)
99

1010
### Search
1111
- PV Search w/ Negamax
12-
- Tranposition Table
12+
- Transposition Table
1313
- Quiescence Search
14+
- Extensions
15+
- Check Extension
1416
- Reductions
1517
- LMR (Late Move Reduction)
1618
- Pruning

src/uci/bench.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub fn bench() {
5050
engine.searching_depth = DEPTH;
5151

5252
let now = Instant::now();
53-
let _ = engine.search(&placeholder_abort, &placeholder_abort, &Board::from_fen(POSITIONS[i], false).unwrap(), DEPTH, -i32::MAX, i32::MAX, &mut engine.my_past_positions.clone());
53+
let _ = engine.search(&placeholder_abort, &placeholder_abort, &Board::from_fen(POSITIONS[i], false).unwrap(), DEPTH, 0, -i32::MAX, i32::MAX, &mut engine.my_past_positions.clone());
5454

5555
total_nodes += engine.nodes;
5656
total_elapsed += now.elapsed().as_secs_f32() * 1000_f32;

0 commit comments

Comments
 (0)