Skip to content

Commit

Permalink
add and sub float vals
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjunSahlot committed Mar 7, 2021
1 parent 5eab2d1 commit 4a9403a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ float center(Board board) {
case WB: points += 1.6; break;
case WR: points += 1.3; break;
case WQ: points += 1.3; break;
case WK: points += 1; break;
case WK: points += 1.0; break;
}
count++;
}
Expand All @@ -113,7 +113,7 @@ float center(Board board) {
case BB: points -= 1.6; break;
case BR: points -= 1.3; break;
case BQ: points -= 1.3; break;
case BK: points -= 1; break;
case BK: points -= 1.0; break;
}
count++;
}
Expand Down

0 comments on commit 4a9403a

Please sign in to comment.