Skip to content
Permalink
Browse files

/ 4

  • Loading branch information...
protonspring committed Apr 15, 2019
1 parent 978bd55 commit 055737bfd0d4384cb228639425442389e39deeb5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/evaluate.cpp
@@ -720,7 +720,7 @@ namespace {

int bonus = popcount(safe) + popcount(behind & safe);
int weight = pos.count<ALL_PIECES>(Us)
- (16 - pos.count<PAWN>(Us) + pos.count<PAWN>(Them));
- (16 - pos.count<PAWN>()) / 4;

Score score = make_score(bonus * weight * weight / 16, 0);

1 comment on commit 055737b

@praveentml

This comment has been minimized.

Copy link

commented on 055737b Apr 16, 2019

Congratulations

Please sign in to comment.
You can’t perform that action at this time.