Skip to content

Commit 61c322e

Browse files
committed
Disable checks in q-search, ELO win
1 parent 3692f16 commit 61c322e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/garbochess.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ function QSearch(alpha, beta, ply) {
549549
}
550550
}
551551

552+
/* Disable checks... Too slow currently
553+
552554
if (ply == 0 && !wasInCheck) {
553555
moves = new Array();
554556
GenerateAllMoves(moves);
@@ -605,6 +607,7 @@ function QSearch(alpha, beta, ply) {
605607
}
606608
}
607609
}
610+
*/
608611

609612
return realEval;
610613
}

0 commit comments

Comments
 (0)