 Rybka Chess Community Forum
Topic The Rybka Lounge / Computer Chess / Piece-Square scores - rook  By rov Date 2020-01-07 20:22
It's stockfish table Piece-Square scores.
Can anyone tell how should I read it:
{ // Rook
{ S(-31, -9), S(-20,-13), S(-14,-10), S(-5, -9) },
{ S(-21,-12), S(-13, -9), S( -8, -1), S( 6, -2) },
{ S(-25,  6), S(-11, -8), S( -1, -2), S( 3, -6) },
{ S(-13, -6), S( -5,  1), S( -4, -9), S(-6,  7) },
{ S(-27, -5), S(-15,  8), S( -4,  7), S( 3, -6) },
{ S(-22,  6), S( -2,  1), S(  6, -7), S(12, 10) },
{ S( -2,  4), S( 12,  5), S( 16, 20), S(18, -5) },
{ S(-17, 18), S(-19,  0), S( -1, 19), S( 9, 13) }

Why rook on 7th rank is not + value ? On middlegame and endgame is almost the only minus value on 7th rank.
I can understand table for knight, queen, but for rooks I dont understand how it works.  By user923005 Date 2020-01-08 01:20
I see this:
`    {   // Rook        S(-22, 3), S(-17, 3), S(-12, 3), S(-8, 3), S(-8, 3), S(-12, 3), S(-17, 3), S(-22, 3),        S(-22, 3), S( -7, 3), S( -2, 3), S( 2, 3), S( 2, 3), S( -2, 3), S( -7, 3), S(-22, 3),        S(-22, 3), S( -7, 3), S( -2, 3), S( 2, 3), S( 2, 3), S( -2, 3), S( -7, 3), S(-22, 3),        S(-22, 3), S( -7, 3), S( -2, 3), S( 2, 3), S( 2, 3), S( -2, 3), S( -7, 3), S(-22, 3),        S(-22, 3), S( -7, 3), S( -2, 3), S( 2, 3), S( 2, 3), S( -2, 3), S( -7, 3), S(-22, 3),        S(-22, 3), S( -7, 3), S( -2, 3), S( 2, 3), S( 2, 3), S( -2, 3), S( -7, 3), S(-22, 3),        S(-11, 3), S(  4, 3), S(  9, 3), S(13, 3), S(13, 3), S(  9, 3), S(  4, 3), S(-11, 3),        S(-22, 3), S(-17, 3), S(-12, 3), S(-8, 3), S(-8, 3), S(-12, 3), S(-17, 3), S(-22, 3)    },`
Which indicates a bonus of 13 in midgame and 3 in endgame for pigs on the 7th near the center of the board and decreasing towards the edges.
I guess you have a rather different version of SF than the bleeding edge one that I examined. By Labyrinth Date 2020-01-11 00:04

>Which indicates a bonus of 13 in midgame and 3 in endgame for pigs on the 7th near the center of the board and decreasing towards the edges.

That would make sense. One thing I'd like to mention though is that I don't know how familiar you guys are with code, but be careful about extracting meaning directly from this as the numbers could really mean anything depending on the rest of the program, and even if they do have a straightforward meaning they could have dramatically different relative impacts (like 4 could be enormous compared to 3, or minuscule).
Topic The Rybka Lounge / Computer Chess / Piece-Square scores - rook