diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -348,8 +348,6 @@ int evaluate_pawn(int piece, int rank) { int color = piece % 2; if (color == 0) { switch (rank) { - case 7: - return 9; case 6: return 5; case 5: @@ -359,8 +357,6 @@ int evaluate_pawn(int piece, int rank) { } } else { switch (rank) { - case 0: - return 9; case 1: return 5; case 2: @@ -387,7 +383,7 @@ int compute_material_advantage(int* board, int color) { counter += INFINITY * sign; break; case PAWN: - counter += evaluate_pawn(piece, rank) * sign; + counter += 10 * evaluate_pawn(piece, rank) * sign; break; case KNIGHT: counter += 30 * sign; |