]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify skill level and reduce ELO
[stockfish] / src / search.cpp
index 0ce836f777797ac0d4b785cad8a911261a8c064c..3c32c4bb762a45ee1ae35f14a02aa119ff654418 100644 (file)
@@ -1393,10 +1393,6 @@ moves_loop: // When in check and at SpNode search starts from here
     {
         int score = RootMoves[i].score;
 
     {
         int score = RootMoves[i].score;
 
-        // Don't allow crazy blunders even at very low skills
-        if (i > 0 && RootMoves[i - 1].score > score + 2 * PawnValueMg)
-            break;
-
         // This is our magic formula
         score += (  weakness * int(RootMoves[0].score - score)
                   + variance * (rng.rand<unsigned>() % weakness)) / 128;
         // This is our magic formula
         score += (  weakness * int(RootMoves[0].score - score)
                   + variance * (rng.rand<unsigned>() % weakness)) / 128;