tune: piece square tables
make it not be as crazy
This commit is contained in:
parent
3dcd27013d
commit
e8cb125df9
18
src/eval.rs
18
src/eval.rs
@ -193,7 +193,7 @@ pub const PST_MIDGAME: Pst = Pst([
|
||||
-1, -1, 2, -1, 1, -1, 2, 1, // 4
|
||||
2, 1, 1, 0, 0, 0, 0, 0, // 3
|
||||
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
|
||||
], 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, // 4
|
||||
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
|
||||
// a b c d e f g h
|
||||
], 20_000),
|
||||
|
||||
// queen
|
||||
make_pst([
|
||||
0, 0, 0, 0, 0, 0, 0, 0, // 8
|
||||
0, 0, 0, 0, 0, 0, 0, 0, // 7
|
||||
0, 0, 0, 0, 0, 0, 0, 0, // 6
|
||||
0, 0, 0, 0, 0, 0, 0, 0, // 5
|
||||
0, 0, 0, 0, 0, 0, 0, 0, // 4
|
||||
-5, -5, -5, -5, -5, -5, -2, -5, // 8
|
||||
-5, -5, -5, -5, -5, -5, -2, -5, // 7
|
||||
-2, -2, -2, -2, -2, -2, -2, -5, // 6
|
||||
-2, -2, -2, -2, -2, -2, -2, -5, // 5
|
||||
-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, // 2
|
||||
0, 0, 0, 0, 0, 0, 0, 0, // 1
|
||||
@ -251,8 +251,8 @@ pub const PST_MIDGAME: Pst = Pst([
|
||||
|
||||
// pawn
|
||||
make_pst([
|
||||
10, 10, 10, 10, 10, 10, 10, 10, // 8
|
||||
9, 9, 9, 9, 9, 9, 9, 9, // 7
|
||||
0, 0, 0, 0, 0, 0, 0, 0, // 8
|
||||
19, 19, 19, 19, 19, 19, 19, 19, // 7
|
||||
8, 8, 8, 8, 8, 8, 8, 8, // 6
|
||||
7, 7, 7, 8, 8, 7, 7, 7, // 5
|
||||
6, 6, 6, 6, 6, 6, 6, 6, // 4
|
||||
|
Loading…
Reference in New Issue
Block a user