tune: piece square tables

make it not be as crazy
This commit is contained in:
dogeystamp 2024-11-23 20:15:39 -05:00
parent 3dcd27013d
commit e8cb125df9
No known key found for this signature in database

View File

@ -193,7 +193,7 @@ pub const PST_MIDGAME: Pst = Pst([
-1, -1, 2, -1, 1, -1, 2, 1, // 4 -1, -1, 2, -1, 1, -1, 2, 1, // 4
2, 1, 1, 0, 0, 0, 0, 0, // 3 2, 1, 1, 0, 0, 0, 0, 0, // 3
0, 0, 0, 0, 0, 0, 0, 0, // 2 0, 0, 0, 0, 0, 0, 0, 0, // 2
0, 0, 0, 10, 10, 5, 0, 0, // 1 -10, 0, 0, 10, 10, 5, 0, -10, // 1
// a b c d e f g h // a b c d e f g h
], 500), ], 500),
@ -231,18 +231,18 @@ pub const PST_MIDGAME: Pst = Pst([
0, 0, 0, 0, 0, 0, 0, 0, // 5 0, 0, 0, 0, 0, 0, 0, 0, // 5
0, 0, 0, 0, 0, 0, 0, 0, // 4 0, 0, 0, 0, 0, 0, 0, 0, // 4
0, 0, 0, 0, 0, 0, 0, 0, // 3 0, 0, 0, 0, 0, 0, 0, 0, // 3
0, 0, 0, 0, 0, 0, 0, 0, // 2 0, 0, 0, -5, -5, -5, 0, 0, // 2
0, 0, 10, 0, 0, 0, 20, 0, // 1 0, 0, 10, 0, 0, 0, 20, 0, // 1
// a b c d e f g h // a b c d e f g h
], 20_000), ], 20_000),
// queen // queen
make_pst([ make_pst([
0, 0, 0, 0, 0, 0, 0, 0, // 8 -5, -5, -5, -5, -5, -5, -2, -5, // 8
0, 0, 0, 0, 0, 0, 0, 0, // 7 -5, -5, -5, -5, -5, -5, -2, -5, // 7
0, 0, 0, 0, 0, 0, 0, 0, // 6 -2, -2, -2, -2, -2, -2, -2, -5, // 6
0, 0, 0, 0, 0, 0, 0, 0, // 5 -2, -2, -2, -2, -2, -2, -2, -5, // 5
0, 0, 0, 0, 0, 0, 0, 0, // 4 -2, -2, -2, -2, -2, -2, -2, -2, // 4
0, 0, 0, 0, 0, 0, 0, 0, // 3 0, 0, 0, 0, 0, 0, 0, 0, // 3
0, 0, 0, 0, 0, 0, 0, 0, // 2 0, 0, 0, 0, 0, 0, 0, 0, // 2
0, 0, 0, 0, 0, 0, 0, 0, // 1 0, 0, 0, 0, 0, 0, 0, 0, // 1
@ -251,8 +251,8 @@ pub const PST_MIDGAME: Pst = Pst([
// pawn // pawn
make_pst([ make_pst([
10, 10, 10, 10, 10, 10, 10, 10, // 8 0, 0, 0, 0, 0, 0, 0, 0, // 8
9, 9, 9, 9, 9, 9, 9, 9, // 7 19, 19, 19, 19, 19, 19, 19, 19, // 7
8, 8, 8, 8, 8, 8, 8, 8, // 6 8, 8, 8, 8, 8, 8, 8, 8, // 6
7, 7, 7, 8, 8, 7, 7, 7, // 5 7, 7, 7, 8, 8, 7, 7, 7, // 5
6, 6, 6, 6, 6, 6, 6, 6, // 4 6, 6, 6, 6, 6, 6, 6, 6, // 4