Permalink
Browse files

Tweak non-captures scoring

Tested with Orig set at f5ef563 so to evaluate
direct gain against 1.8

After 3239 games at 10"+0.1
Mod vs Orig +701 =1906 -632 +7 ELO

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
  • Loading branch information...
1 parent e0056c3 commit 2dfec0f6147f62fb772cde912a9436d2d5054703 @mcostalba committed Jul 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/movepick.cpp
View
2 src/movepick.cpp
@@ -228,7 +228,7 @@ void MovePicker::score_noncaptures() {
from = move_from(m);
to = move_to(m);
piece = pos.piece_on(from);
- cur->score = H.value(piece, to);
+ cur->score = H.value(piece, to) + H.gain(piece, to);
}
}

0 comments on commit 2dfec0f

Please sign in to comment.