mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Fix psqt format and use smaller numbers in king psqt (#940)
Fix minus sign in pawn psqt and use smaller numbers in king psqt. No functional change.
This commit is contained in:
parent
af7412e58a
commit
3728e833aa
1 changed files with 10 additions and 10 deletions
16
src/psqt.cpp
16
src/psqt.cpp
|
@ -87,14 +87,14 @@ const Score Bonus[][RANK_NB][int(FILE_NB) / 2] = {
|
||||||
{ S(-1,-75), S(-4,-54), S(-1,-44), S( 0,-30) }
|
{ S(-1,-75), S(-4,-54), S(-1,-44), S( 0,-30) }
|
||||||
},
|
},
|
||||||
{ // King
|
{ // King
|
||||||
{ S(291, 28), S(344, 76), S(294,103), S(219,112) },
|
{ S(260, 0), S(313, 48), S(263, 75), S(188, 84) },
|
||||||
{ S(289, 70), S(329,119), S(263,170), S(205,159) },
|
{ S(258, 42), S(298, 91), S(232,142), S(174,131) },
|
||||||
{ S(226,109), S(271,164), S(202,195), S(136,191) },
|
{ S(195, 81), S(240,136), S(171,167), S(105,163) },
|
||||||
{ S(204,131), S(212,194), S(175,194), S(137,204) },
|
{ S(173,103), S(181,166), S(144,166), S(106,176) },
|
||||||
{ S(177,132), S(205,187), S(143,224), S( 94,227) },
|
{ S(146,104), S(174,159), S(112,196), S( 63,199) },
|
||||||
{ S(147,118), S(188,178), S(113,199), S( 70,197) },
|
{ S(116, 90), S(157,150), S( 82,171), S( 39,169) },
|
||||||
{ S(116, 72), S(158,121), S( 93,142), S( 48,161) },
|
{ S( 85, 44), S(127, 93), S( 62,114), S( 17,133) },
|
||||||
{ S( 94, 30), S(120, 76), S( 78,101), S( 31,111) }
|
{ S( 63, 2), S( 89, 48), S( 47, 73), S( 0, 83) }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue