Skip to content

Commit 21e83ec

Browse files
committed
1/5/24 1:33 PM
1 parent fa30dd7 commit 21e83ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ impl Bot {
412412
let sorted_moves = self.move_sorter.sort_moves(board, legal_moves, NULL_MOVE, u8::MAX);
413413

414414
for m in sorted_moves {
415+
// Delta Pruning
415416
if !board.king_in_check(board.white_to_move) {
416417
let mut threshold = QUEEN_WORTH;
417418
if PROMOTABLE.contains(&m.flag) {

0 commit comments

Comments
 (0)