mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Tweak non-captures scoring
Tested with Orig set at f5ef5632f
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>
This commit is contained in:
parent
e0056c3851
commit
2dfec0f614
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue