diff --git a/src/Lynx/Model/Position.cs b/src/Lynx/Model/Position.cs
index e0a9d00df..b7eb542f4 100644
--- a/src/Lynx/Model/Position.cs
+++ b/src/Lynx/Model/Position.cs
@@ -424,7 +424,7 @@ public bool WasProduceByAValidMove()
// Bitboard copy that we 'empty'
var bitboard = PieceBitBoards[pieceIndex];
- packedScore += PieceProtectedByPawnBonus[pieceIndex] * (whitePawnAttacks & bitboard).CountBits();
+ packedScore += PieceProtectedByPawnBonus[whiteBucket][pieceIndex] * (whitePawnAttacks & bitboard).CountBits();
while (bitboard != default)
{
@@ -447,7 +447,7 @@ public bool WasProduceByAValidMove()
var bitboard = PieceBitBoards[pieceIndex];
// Pieces protected by pawns bonus
- packedScore -= PieceProtectedByPawnBonus[pieceIndex - 6] * (blackPawnAttacks & bitboard).CountBits();
+ packedScore -= PieceProtectedByPawnBonus[blackBucket][pieceIndex - 6] * (blackPawnAttacks & bitboard).CountBits();
while (bitboard != default)
{
@@ -673,7 +673,7 @@ private int PawnAdditionalEvaluation(int bucket, int squareIndex, int pieceIndex
// Pawn phalanx
if (Constants.File[squareIndex] != 7 && PieceBitBoards[pieceIndex].GetBit(squareIndex + 1))
{
- packedBonus += PawnPhalanxBonus[bucket][rank];
+ packedBonus += PawnPhalanxBonus[rank];
}
return packedBonus;
diff --git a/src/Lynx/TunableEvalParameters.cs b/src/Lynx/TunableEvalParameters.cs
index a8702c51b..a519dcd84 100644
--- a/src/Lynx/TunableEvalParameters.cs
+++ b/src/Lynx/TunableEvalParameters.cs
@@ -1,4 +1,4 @@
-// 2025-1-6 2:35:18 6
+// 2025-1-6 3:56:16 6
using static Lynx.Utils;
@@ -12,191 +12,191 @@ internal static class TunableEvalParameters
[
[
[
- +26, +261, +44, +377, +841, 0,
- -26, -261, -44, -377, -841, 0
+ +28, +261, +45, +378, +843, 0,
+ -28, -261, -45, -378, -843, 0
],
[
- +43, +303, +74, +418, +936, 0,
- -43, -303, -74, -418, -936, 0
+ +44, +303, +75, +418, +937, 0,
+ -44, -303, -75, -418, -937, 0
],
[
- +37, +300, +77, +397, +956, 0,
- -37, -300, -77, -397, -956, 0
+ +39, +299, +77, +397, +957, 0,
+ -39, -299, -77, -397, -957, 0
],
[
- +28, +266, +39, +340, +807, 0,
- -28, -266, -39, -340, -807, 0
+ +29, +266, +40, +341, +809, 0,
+ -29, -266, -40, -341, -809, 0
],
[
- +33, +292, +64, +393, +910, 0,
- -33, -292, -64, -393, -910, 0
+ +35, +290, +64, +392, +910, 0,
+ -35, -290, -64, -392, -910, 0
],
[
- +37, +280, +59, +353, +869, 0,
- -37, -280, -59, -353, -869, 0
+ +37, +280, +60, +354, +872, 0,
+ -37, -280, -60, -354, -872, 0
],
[
- +47, +316, +93, +427, +1018, 0,
- -47, -316, -93, -427, -1018, 0
+ +49, +315, +95, +427, +1020, 0,
+ -49, -315, -95, -427, -1020, 0
],
[
- +36, +315, +88, +425, +962, 0,
- -36, -315, -88, -425, -962, 0
+ +37, +315, +89, +425, +965, 0,
+ -37, -315, -89, -425, -965, 0
],
[
- +33, +271, +38, +349, +840, 0,
- -33, -271, -38, -349, -840, 0
+ +30, +270, +37, +351, +843, 0,
+ -30, -270, -37, -351, -843, 0
],
[
- +31, +277, +50, +333, +846, 0,
- -31, -277, -50, -333, -846, 0
+ +27, +279, +46, +337, +849, 0,
+ -27, -279, -46, -337, -849, 0
],
[
- +31, +260, +35, +311, +863, 0,
- -31, -260, -35, -311, -863, 0
+ +27, +258, +34, +315, +865, 0,
+ -27, -258, -34, -315, -865, 0
],
[
- +32, +263, +41, +300, +873, 0,
- -32, -263, -41, -300, -873, 0
+ +28, +264, +38, +306, +874, 0,
+ -28, -264, -38, -306, -874, 0
],
[
- +35, +287, +63, +342, +880, 0,
- -35, -287, -63, -342, -880, 0
+ +34, +286, +62, +345, +882, 0,
+ -34, -286, -62, -345, -882, 0
],
[
- +39, +317, +92, +404, +928, 0,
- -39, -317, -92, -404, -928, 0
+ +39, +317, +93, +406, +930, 0,
+ -39, -317, -93, -406, -930, 0
],
[
- +38, +318, +88, +411, +936, 0,
- -38, -318, -88, -411, -936, 0
+ +39, +319, +88, +412, +936, 0,
+ -39, -319, -88, -412, -936, 0
],
[
- -0, +242, +16, +321, +765, 0,
- +0, -242, -16, -321, -765, 0
+ +2, +240, +15, +324, +769, 0,
+ -2, -240, -15, -324, -769, 0
],
[
- +1, +240, +44, +316, +741, 0,
- -1, -240, -44, -316, -741, 0
+ -4, +238, +40, +319, +743, 0,
+ +4, -238, -40, -319, -743, 0
],
[
- -1, +241, +43, +316, +730, 0,
- +1, -241, -43, -316, -730, 0
+ -6, +239, +38, +319, +734, 0,
+ +6, -239, -38, -319, -734, 0
],
[
- +6, +252, +46, +317, +717, 0,
- -6, -252, -46, -317, -717, 0
+ +4, +250, +39, +319, +720, 0,
+ -4, -250, -39, -319, -720, 0
],
[
- +5, +245, +52, +307, +731, 0,
- -5, -245, -52, -307, -731, 0
+ -1, +242, +45, +310, +735, 0,
+ +1, -242, -45, -310, -735, 0
],
[
- +20, +241, +46, +305, +734, 0,
- -20, -241, -46, -305, -734, 0
+ +15, +239, +40, +307, +737, 0,
+ -15, -239, -40, -307, -737, 0
],
[
- +5, +238, +44, +317, +745, 0,
- -5, -238, -44, -317, -745, 0
+ +3, +240, +40, +319, +748, 0,
+ -3, -240, -40, -319, -748, 0
],
[
- -8, +241, +40, +319, +754, 0,
- +8, -241, -40, -319, -754, 0
+ -11, +241, +38, +321, +757, 0,
+ +11, -241, -38, -321, -757, 0
],
],
[
[
- +39, +29, +15, +57, +66, 0,
- -39, -29, -15, -57, -66, 0
+ +38, +29, +13, +57, +67, 0,
+ -38, -29, -13, -57, -67, 0
],
[
- +55, +52, +38, +96, +146, 0,
- -55, -52, -38, -96, -146, 0
+ +54, +52, +36, +94, +145, 0,
+ -54, -52, -36, -94, -145, 0
],
[
- +49, +43, +33, +75, +174, 0,
- -49, -43, -33, -75, -174, 0
+ +48, +43, +32, +74, +175, 0,
+ -48, -43, -32, -74, -175, 0
],
[
- +39, +11, +2, +30, +105, 0,
- -39, -11, -2, -30, -105, 0
+ +39, +12, +1, +29, +105, 0,
+ -39, -12, -1, -29, -105, 0
],
[
- +47, +44, +33, +85, +174, 0,
- -47, -44, -33, -85, -174, 0
+ +46, +45, +32, +84, +173, 0,
+ -46, -45, -32, -84, -173, 0
],
[
- +47, +33, +26, +57, +152, 0,
- -47, -33, -26, -57, -152, 0
+ +46, +33, +25, +56, +152, 0,
+ -46, -33, -25, -56, -152, 0
],
[
- +49, +57, +46, +110, +214, 0,
- -49, -57, -46, -110, -214, 0
+ +48, +57, +45, +108, +214, 0,
+ -48, -57, -45, -108, -214, 0
],
[
- +39, +51, +37, +104, +153, 0,
- -39, -51, -37, -104, -153, 0
+ +39, +51, +35, +103, +153, 0,
+ -39, -51, -35, -103, -153, 0
],
[
- +49, +27, +2, +27, +107, 0,
- -49, -27, -2, -27, -107, 0
+ +49, +28, +1, +27, +107, 0,
+ -49, -28, -1, -27, -107, 0
],
[
- +43, +34, +7, +17, +146, 0,
- -43, -34, -7, -17, -146, 0
+ +42, +35, +7, +18, +146, 0,
+ -42, -35, -7, -18, -146, 0
],
[
- +46, +28, -8, -3, +177, 0,
- -46, -28, +8, +3, -177, 0
+ +45, +29, -8, -2, +177, 0,
+ -45, -29, +8, +2, -177, 0
],
[
- +46, +22, +7, -5, +189, 0,
- -46, -22, -7, +5, -189, 0
+ +45, +23, +6, -5, +190, 0,
+ -45, -23, -6, +5, -190, 0
],
[
- +48, +39, +15, +32, +181, 0,
- -48, -39, -15, -32, -181, 0
+ +47, +40, +15, +33, +182, 0,
+ -47, -40, -15, -33, -182, 0
],
[
- +59, +70, +55, +91, +166, 0,
- -59, -70, -55, -91, -166, 0
+ +58, +71, +54, +91, +166, 0,
+ -58, -71, -54, -91, -166, 0
],
[
- +42, +64, +48, +89, +137, 0,
- -42, -64, -48, -89, -137, 0
+ +41, +64, +46, +87, +136, 0,
+ -41, -64, -46, -87, -136, 0
],
[
- +5, +7, -26, -9, +34, 0,
- -5, -7, +26, +9, -34, 0
+ +4, +8, -26, -9, +33, 0,
+ -4, -8, +26, +9, -33, 0
],
[
- -20, +1, -40, +13, +11, 0,
- +20, -1, +40, -13, -11, 0
+ -18, +2, -39, +14, +11, 0,
+ +18, -2, +39, -14, -11, 0
],
[
- -27, +2, -46, +10, +15, 0,
- +27, -2, +46, -10, -15, 0
+ -25, +3, -45, +10, +14, 0,
+ +25, -3, +45, -10, -14, 0
],
[
- -20, +3, -50, +19, +13, 0,
- +20, -3, +50, -19, -13, 0
+ -20, +4, -48, +20, +13, 0,
+ +20, -4, +48, -20, -13, 0
],
[
- -15, +1, -58, +14, +12, 0,
- +15, -1, +58, -14, -12, 0
+ -14, +2, -55, +16, +12, 0,
+ +14, -2, +55, -16, -12, 0
],
[
- -18, -3, -48, +9, +16, 0,
- +18, +3, +48, -9, -16, 0
+ -17, -3, -46, +10, +16, 0,
+ +17, +3, +46, -10, -16, 0
],
[
- -7, +5, -29, +3, +11, 0,
- +7, -5, +29, -3, -11, 0
+ -6, +5, -29, +3, +11, 0,
+ +6, -5, +29, -3, -11, 0
],
[
- -16, +5, -21, -3, +6, 0,
- +16, -5, +21, +3, -6, 0
+ -16, +5, -21, -2, +6, 0,
+ +16, -5, +21, +2, -6, 0
],
],
];
@@ -205,191 +205,191 @@ internal static class TunableEvalParameters
[
[
[
- +44, +225, +30, +568, +751, 0,
- -44, -225, -30, -568, -751, 0
+ +43, +225, +29, +568, +747, 0,
+ -43, -225, -29, -568, -747, 0
],
[
- +49, +256, +62, +610, +835, 0,
- -49, -256, -62, -610, -835, 0
+ +47, +255, +60, +611, +832, 0,
+ -47, -255, -60, -611, -832, 0
],
[
- +59, +282, +87, +651, +855, 0,
- -59, -282, -87, -651, -855, 0
+ +56, +282, +87, +654, +851, 0,
+ -56, -282, -87, -654, -851, 0
],
[
- +43, +247, +36, +580, +758, 0,
- -43, -247, -36, -580, -758, 0
+ +42, +249, +35, +580, +754, 0,
+ -42, -249, -35, -580, -754, 0
],
[
- +46, +262, +66, +619, +836, 0,
- -46, -262, -66, -619, -836, 0
+ +42, +262, +65, +621, +833, 0,
+ -42, -262, -65, -621, -833, 0
],
[
- +44, +264, +58, +638, +853, 0,
- -44, -264, -58, -638, -853, 0
+ +44, +265, +58, +639, +848, 0,
+ -44, -265, -58, -639, -848, 0
],
[
- +68, +341, +142, +755, +1065, 0,
- -68, -341, -142, -755, -1065, 0
+ +62, +341, +141, +758, +1064, 0,
+ -62, -341, -141, -758, -1064, 0
],
[
- +42, +246, +55, +631, +872, 0,
- -42, -246, -55, -631, -872, 0
+ +36, +245, +54, +633, +869, 0,
+ -36, -245, -54, -633, -869, 0
],
[
- +57, +257, +59, +619, +801, 0,
- -57, -257, -59, -619, -801, 0
+ +59, +256, +59, +619, +797, 0,
+ -59, -256, -59, -619, -797, 0
],
[
- +65, +286, +77, +660, +844, 0,
- -65, -286, -77, -660, -844, 0
+ +69, +286, +79, +659, +838, 0,
+ -69, -286, -79, -659, -838, 0
],
[
- +68, +309, +100, +689, +878, 0,
- -68, -309, -100, -689, -878, 0
+ +72, +310, +101, +687, +873, 0,
+ -72, -310, -101, -687, -873, 0
],
[
- +67, +309, +94, +694, +892, 0,
- -67, -309, -94, -694, -892, 0
+ +71, +309, +95, +692, +887, 0,
+ -71, -309, -95, -692, -887, 0
],
[
- +61, +288, +80, +669, +885, 0,
- -61, -288, -80, -669, -885, 0
+ +63, +288, +80, +668, +880, 0,
+ -63, -288, -80, -668, -880, 0
],
[
- +55, +275, +66, +654, +891, 0,
- -55, -275, -66, -654, -891, 0
+ +56, +275, +65, +654, +886, 0,
+ -56, -275, -65, -654, -886, 0
],
[
- +51, +249, +48, +631, +863, 0,
- -51, -249, -48, -631, -863, 0
+ +51, +248, +47, +631, +858, 0,
+ -51, -248, -47, -631, -858, 0
],
[
- +58, +216, +18, +556, +693, 0,
- -58, -216, -18, -556, -693, 0
+ +60, +216, +19, +555, +688, 0,
+ -60, -216, -19, -555, -688, 0
],
[
- +75, +203, -12, +542, +655, 0,
- -75, -203, +12, -542, -655, 0
+ +80, +203, -10, +542, +650, 0,
+ -80, -203, +10, -542, -650, 0
],
[
- +76, +200, -18, +521, +648, 0,
- -76, -200, +18, -521, -648, 0
+ +82, +199, -18, +521, +645, 0,
+ -82, -199, +18, -521, -645, 0
],
[
- +74, +207, -20, +517, +637, 0,
- -74, -207, +20, -517, -637, 0
+ +81, +206, -20, +517, +634, 0,
+ -81, -206, +20, -517, -634, 0
],
[
- +68, +200, -31, +510, +646, 0,
- -68, -200, +31, -510, -646, 0
+ +76, +200, -29, +511, +643, 0,
+ -76, -200, +29, -511, -643, 0
],
[
- +61, +185, -46, +503, +649, 0,
- -61, -185, +46, -503, -649, 0
+ +67, +183, -44, +504, +647, 0,
+ -67, -183, +44, -504, -647, 0
],
[
- +69, +193, -27, +524, +657, 0,
- -69, -193, +27, -524, -657, 0
+ +73, +191, -27, +523, +654, 0,
+ -73, -191, +27, -523, -654, 0
],
[
- +65, +207, -10, +537, +661, 0,
- -65, -207, +10, -537, -661, 0
+ +69, +206, -10, +538, +658, 0,
+ -69, -206, +10, -538, -658, 0
],
],
[
[
- +43, +11, -18, +66, +131, 0,
- -43, -11, +18, -66, -131, 0
+ +43, +12, -17, +66, +132, 0,
+ -43, -12, +17, -66, -132, 0
],
[
- +63, +45, +23, +126, +221, 0,
- -63, -45, -23, -126, -221, 0
+ +63, +46, +24, +127, +221, 0,
+ -63, -46, -24, -127, -221, 0
],
[
- +67, +74, +51, +159, +240, 0,
- -67, -74, -51, -159, -240, 0
+ +67, +74, +52, +160, +240, 0,
+ -67, -74, -52, -160, -240, 0
],
[
+49, +30, -7, +84, +92, 0,
-49, -30, +7, -84, -92, 0
],
[
- +59, +62, +27, +125, +208, 0,
- -59, -62, -27, -125, -208, 0
+ +60, +63, +28, +126, +210, 0,
+ -60, -63, -28, -126, -210, 0
],
[
+57, +55, +26, +141, +192, 0,
-57, -55, -26, -141, -192, 0
],
[
- +88, +138, +112, +266, +442, 0,
- -88, -138, -112, -266, -442, 0
+ +89, +140, +114, +269, +446, 0,
+ -89, -140, -114, -269, -446, 0
],
[
- +70, +61, +31, +162, +279, 0,
- -70, -61, -31, -162, -279, 0
+ +70, +62, +32, +164, +281, 0,
+ -70, -62, -32, -164, -281, 0
],
[
- +45, +38, +4, +104, +152, 0,
- -45, -38, -4, -104, -152, 0
+ +45, +38, +4, +103, +151, 0,
+ -45, -38, -4, -103, -151, 0
],
[
- +54, +61, +32, +144, +177, 0,
- -54, -61, -32, -144, -177, 0
+ +55, +61, +31, +142, +176, 0,
+ -55, -61, -31, -142, -176, 0
],
[
- +59, +80, +50, +177, +201, 0,
- -59, -80, -50, -177, -201, 0
+ +60, +80, +49, +174, +199, 0,
+ -60, -80, -49, -174, -199, 0
],
[
- +58, +84, +46, +177, +215, 0,
- -58, -84, -46, -177, -215, 0
+ +59, +84, +45, +174, +213, 0,
+ -59, -84, -45, -174, -213, 0
],
[
- +49, +68, +36, +155, +217, 0,
- -49, -68, -36, -155, -217, 0
+ +50, +68, +35, +153, +215, 0,
+ -50, -68, -35, -153, -215, 0
],
[
- +47, +60, +23, +138, +249, 0,
- -47, -60, -23, -138, -249, 0
+ +48, +60, +23, +138, +249, 0,
+ -48, -60, -23, -138, -249, 0
],
[
- +55, +45, +12, +122, +247, 0,
- -55, -45, -12, -122, -247, 0
+ +55, +46, +12, +123, +247, 0,
+ -55, -46, -12, -123, -247, 0
],
[
- +54, -7, -32, +37, +55, 0,
- -54, +7, +32, -37, -55, 0
+ +54, -7, -32, +37, +56, 0,
+ -54, +7, +32, -37, -56, 0
],
[
- +60, -46, -35, +8, +8, 0,
- -60, +46, +35, -8, -8, 0
+ +60, -45, -36, +7, +8, 0,
+ -60, +45, +36, -7, -8, 0
],
[
- +60, -32, -28, +1, -4, 0,
- -60, +32, +28, -1, +4, 0
+ +60, -31, -29, +1, -4, 0,
+ -60, +31, +29, -1, +4, 0
],
[
- +55, -29, -28, +2, -22, 0,
- -55, +29, +28, -2, +22, 0
+ +55, -28, -30, +2, -22, 0,
+ -55, +28, +30, -2, +22, 0
],
[
- +50, -28, -36, -10, -13, 0,
- -50, +28, +36, +10, +13, 0
+ +51, -27, -37, -10, -13, 0,
+ -51, +27, +37, +10, +13, 0
],
[
- +49, -44, -45, -21, +5, 0,
- -49, +44, +45, +21, -5, 0
+ +50, -44, -47, -22, +6, 0,
+ -50, +44, +47, +22, -6, 0
],
[
- +56, -47, -38, -8, +16, 0,
- -56, +47, +38, +8, -16, 0
+ +56, -47, -39, -7, +16, 0,
+ -56, +47, +39, +7, -16, 0
],
[
- +56, -25, -35, +12, +20, 0,
- -56, +25, +35, -12, -20, 0
+ +56, -24, -35, +12, +19, 0,
+ -56, +24, +35, -12, -19, 0
],
],
];
@@ -398,232 +398,232 @@ internal static class TunableEvalParameters
[
[
0, 0, 0, 0, 0, 0, 0, 0,
- 26, -22, 32, -12, -98, -24, 51, 11,
- -24, 44, 53, 49, 64, -4, -50, -30,
- 7, 46, -19, -9, 1, -27, -12, -52,
- 38, 24, 5, 18, 8, -8, -21, -37,
- 28, 33, 20, -10, -12, -24, -36, -46,
- 5, 81, 34, -3, 11, -22, -44, -45,
+ 26, -24, 30, -14, -100, -26, 51, 9,
+ -27, 43, 51, 48, 62, -5, -51, -31,
+ 8, 47, -18, -8, 2, -26, -10, -52,
+ 38, 26, 6, 20, 9, -7, -19, -38,
+ 28, 34, 21, -11, -13, -24, -35, -49,
+ 5, 84, 37, -2, 12, -21, -41, -46,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -21, -32, -47, 44, -8, 18, -31, -69,
- 26, 3, 16, 41, 40, 29, -14, -41,
- 66, 21, 3, -13, 1, -9, -9, -34,
- 58, 12, 7, 7, -2, -5, -7, -28,
- 48, 42, -1, -13, -18, -25, -45, -43,
- 39, 55, 20, 15, -2, -23, -42, -35,
+ -21, -30, -47, 43, -10, 16, -33, -71,
+ 26, 2, 16, 40, 39, 29, -14, -42,
+ 66, 21, 4, -12, 2, -8, -8, -33,
+ 59, 12, 9, 8, -1, -4, -5, -28,
+ 49, 44, 1, -11, -17, -23, -44, -45,
+ 38, 55, 21, 14, -3, -24, -42, -36,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 76, 54, -23, -93, 16, -53, -43, -65,
- -20, 22, -21, 45, 3, 36, -21, -39,
- 46, 17, 4, 2, 2, -1, -12, -27,
- 36, 29, 4, 13, 1, 1, -8, -23,
- 44, 47, 1, -7, -9, -12, -36, -50,
- 45, 59, 10, 18, 10, -5, -36, -37,
+ 74, 54, -23, -93, 12, -56, -46, -69,
+ -21, 22, -22, 43, 1, 35, -21, -41,
+ 46, 18, 5, 3, 4, 1, -10, -27,
+ 35, 31, 4, 13, 1, 1, -7, -24,
+ 45, 51, 3, -5, -8, -9, -33, -51,
+ 44, 60, 11, 18, 8, -6, -36, -39,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 48, 45, -22, 5, -38, -19, -40, -24,
- -23, -15, 23, -27, -2, -3, -5, -17,
- 4, -14, 10, -17, 21, -0, -12, -1,
- 5, 8, 20, -4, 18, 9, 6, 0,
- 3, 14, 11, -3, 23, -3, -13, -8,
- 8, 23, 1, -1, 19, 9, -10, -12,
+ 45, 39, -22, 5, -39, -22, -40, -26,
+ -23, -16, 23, -26, -1, -4, -8, -18,
+ 3, -14, 10, -16, 23, 1, -11, -2,
+ 3, 6, 20, -5, 18, 8, 5, -1,
+ 3, 17, 14, -0, 25, -0, -12, -9,
+ 8, 24, 3, -0, 20, 10, -7, -13,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -27, -33, -5, -37, -63, -48, 27, 20,
- -20, -20, 17, 12, -41, 28, -42, -34,
- 1, 7, 1, 18, 2, 16, 12, 0,
- 7, 1, 20, 22, 7, 22, 19, 0,
- 9, -9, 3, 7, 0, 8, 6, -12,
- 7, 7, 16, 15, 5, 16, 24, 6,
+ -29, -35, -8, -38, -63, -51, 26, 17,
+ -22, -18, 17, 11, -43, 27, -42, -35,
+ -1, 7, 2, 20, 4, 17, 14, -0,
+ 5, 1, 17, 21, 5, 20, 19, -1,
+ 8, -5, 5, 10, 3, 11, 8, -12,
+ 6, 9, 17, 16, 6, 17, 27, 6,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -31, -17, -47, 110, 38, -42, -121, 7,
- -24, -28, -10, 21, 4, 6, -27, 22,
- -23, -12, -12, -17, 12, 3, 16, 9,
- -11, -18, 1, 5, 11, 7, 31, 9,
- -18, -28, -11, 14, 10, 12, 20, 8,
- -3, -7, 6, 36, 31, 27, 19, 12,
+ -31, -17, -47, 110, 39, -42, -124, 7,
+ -24, -29, -10, 22, 5, 6, -26, 24,
+ -22, -11, -10, -13, 16, 5, 18, 11,
+ -10, -18, 1, 6, 13, 7, 31, 9,
+ -15, -23, -8, 16, 13, 17, 26, 10,
+ -8, -14, -0, 31, 23, 21, 10, 6,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 6, -21, 31, -33, 34, -14, -5, -16,
- -34, -12, 14, 13, -12, 32, 4, 27,
- -18, -13, -12, -5, 0, 4, 5, 31,
- -18, -17, -9, -6, 1, 6, 11, 34,
- -24, -32, -22, -17, -8, -7, 22, 39,
- -17, -23, -17, 13, 17, 12, 31, 26,
+ 4, -22, 30, -36, 32, -17, -6, -17,
+ -35, -13, 13, 11, -13, 30, 3, 26,
+ -18, -13, -12, -5, 1, 5, 7, 32,
+ -18, -15, -7, -5, 2, 7, 13, 35,
+ -25, -30, -21, -15, -7, -5, 23, 38,
+ -18, -22, -17, 13, 17, 12, 33, 25,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -27, 19, -23, 3, 36, 33, -62, -17,
- -26, -0, 13, 15, 22, 12, 37, 6,
- -21, -20, -10, -9, 7, 8, 3, 2,
- -15, -21, -6, -2, 6, 7, 9, 20,
- -23, -34, -20, -11, -6, 5, 5, 38,
- -15, -20, -8, -2, 10, 19, 36, 26,
+ -30, 16, -23, 2, 36, 32, -63, -18,
+ -29, -2, 12, 13, 20, 10, 36, 4,
+ -21, -18, -8, -8, 8, 10, 6, 4,
+ -15, -18, -4, -0, 8, 9, 12, 20,
+ -24, -32, -20, -10, -6, 6, 5, 36,
+ -16, -20, -8, -3, 9, 18, 36, 26,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 64, 25, -31, -30, 63, -50, -30, -42,
- 40, -51, 32, -7, 57, -59, -48, -20,
- 47, 12, 41, -1, 7, -7, -6, -27,
- 35, 20, 20, 19, 6, 13, -2, -38,
- 12, 22, 15, 6, -12, -7, -30, -39,
- 6, -23, 52, 18, 19, -19, -27, -48,
+ 67, 30, -28, -28, 64, -50, -26, -38,
+ 40, -53, 31, -5, 57, -61, -50, -21,
+ 49, 14, 42, 1, 8, -5, -4, -24,
+ 34, 18, 18, 17, 4, 11, -4, -38,
+ 13, 20, 16, 4, -14, -7, -33, -41,
+ 7, -23, 53, 14, 18, -21, -29, -48,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 9, 39, -125, 103, -19, -75, 14, 1,
- -28, 9, 22, 17, 17, -15, 14, 3,
- 16, 32, -5, 32, 11, 13, -17, -22,
- -11, 5, 10, 27, 20, 20, -4, -13,
- -4, -4, 1, 7, 6, 6, -27, -41,
- -14, 6, -5, 22, 22, -3, -24, -47,
+ 11, 43, -118, 108, -20, -72, 24, 5,
+ -25, 11, 22, 17, 18, -14, 15, 4,
+ 18, 32, -3, 33, 12, 13, -17, -20,
+ -12, 0, 7, 22, 16, 16, -8, -14,
+ -5, -6, -1, 5, 3, 5, -33, -44,
+ -13, 6, -6, 23, 21, -6, -27, -46,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -47, 16, 20, 30, 23, -63, -18, -5,
- -28, 14, 14, 40, 35, 50, 9, 8,
- -28, -13, 18, 7, 26, 16, -12, -21,
- -22, 6, 14, 17, 26, 6, -11, -20,
- -14, 5, 5, 8, 11, 7, -8, -56,
- -28, 9, 16, -24, 15, 12, -16, -48,
+ -44, 20, 22, 32, 29, -60, -12, -4,
+ -26, 15, 16, 42, 35, 51, 9, 9,
+ -27, -12, 19, 10, 28, 17, -10, -19,
+ -22, 5, 13, 15, 24, 3, -14, -21,
+ -15, 2, 4, 4, 8, 4, -13, -59,
+ -28, 4, 16, -22, 13, 9, -21, -49,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 7, -26, -3, 73, -148, 17, 39, -32,
- -12, -11, 16, 41, 0, 52, 28, -21,
- -35, -11, -5, 9, 10, 26, -6, -17,
- -26, -18, 6, 26, 20, 28, 20, -13,
- -32, -16, 3, 1, 12, 8, -9, -25,
- -35, -6, 16, 7, 35, 25, 4, -23,
+ 8, -22, -1, 76, -145, 25, 42, -27,
+ -12, -9, 17, 43, 0, 53, 28, -19,
+ -32, -10, -4, 11, 12, 27, -5, -15,
+ -26, -21, 4, 24, 19, 25, 17, -14,
+ -31, -17, 3, 1, 11, 11, -11, -26,
+ -37, -13, 10, 7, 33, 22, -4, -25,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -18, -34, -1, 41, 110, -40, -108, 14,
- -63, 16, 10, 11, 43, 20, 27, 1,
- -18, -17, -9, 2, 20, 1, 21, 3,
- -26, -17, 5, 19, 24, 13, 15, 10,
- -33, -32, -1, 19, 10, 7, -1, -16,
- -34, -20, 1, 11, 12, 9, 4, -12,
+ -18, -32, 1, 41, 111, -37, -108, 16,
+ -63, 17, 11, 11, 42, 20, 27, 2,
+ -17, -17, -9, 3, 21, 3, 22, 4,
+ -27, -17, 4, 18, 22, 11, 13, 9,
+ -33, -32, -1, 19, 9, 8, -2, -18,
+ -34, -21, 1, 9, 10, 10, 4, -12,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -17, -30, 12, -26, 56, -14, 44, -39,
- -28, -31, -11, 14, 23, 41, 27, -17,
- -19, -12, -14, 3, 13, 23, 15, 22,
- -21, -19, -5, 8, 24, 17, 19, 9,
- -25, -24, -16, -0, 8, 21, 16, -16,
- -24, -29, -21, 7, 21, 55, -26, -14,
+ -17, -30, 14, -26, 55, -11, 41, -40,
+ -30, -31, -12, 12, 22, 39, 26, -17,
+ -19, -12, -13, 3, 13, 24, 17, 23,
+ -21, -18, -5, 9, 24, 17, 21, 9,
+ -27, -27, -18, -2, 5, 17, 13, -21,
+ -21, -25, -16, 9, 26, 56, -21, -13,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -1, -7, -7, -0, 22, 19, -21, -34,
- -8, -13, 5, 48, 25, 29, 52, 15,
- -26, -30, -25, -16, 19, 5, 18, -4,
- -15, -22, -13, 3, 13, 29, 7, 17,
- -27, -35, -25, -14, 3, 7, 19, 0,
- -21, -29, -13, -2, 17, 42, 51, -58,
+ -3, -9, -8, -1, 22, 18, -22, -33,
+ -10, -14, 4, 47, 23, 26, 50, 14,
+ -26, -29, -24, -16, 21, 7, 20, -4,
+ -15, -21, -12, 4, 13, 30, 9, 17,
+ -28, -33, -23, -12, 4, 10, 20, -0,
+ -23, -29, -14, -2, 17, 42, 52, -59,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -52, -17, 61, 31, 53, 31, 2, 20,
- -28, -13, 63, 80, -3, 49, 15, -38,
- -29, 10, 83, 71, 16, -14, -41, -8,
- -47, 47, 28, 26, -12, -60, -76, -49,
- -60, 68, 77, 21, -4, -3, -52, -62,
- -63, 80, 48, -18, -24, -96, -65, -50,
+ -52, -20, 57, 26, 51, 33, 3, 19,
+ -26, -14, 64, 81, -5, 46, 18, -37,
+ -28, 9, 83, 71, 17, -16, -40, -12,
+ -44, 53, 35, 31, -6, -57, -70, -49,
+ -60, 69, 75, 21, -5, -4, -54, -66,
+ -63, 81, 49, -17, -27, -97, -68, -53,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -59, 56, 84, 134, -49, -16, -9, 41,
- -100, 7, 113, 97, 123, 83, 19, 17,
- -62, 134, 128, 59, 62, 60, -65, 35,
- -143, -0, 66, 17, -4, -57, -149, -67,
- -104, 54, 62, 37, -21, -37, -101, -60,
- -72, 124, 14, -35, -14, -111, -139, -150,
+ -52, 59, 90, 140, -43, -13, -5, 46,
+ -92, 13, 114, 93, 119, 85, 18, 22,
+ -60, 134, 126, 47, 57, 50, -73, 27,
+ -141, 2, 66, 16, -8, -56, -147, -61,
+ -109, 46, 57, 38, -27, -44, -119, -66,
+ -65, 129, 16, -28, -7, -114, -138, -139,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -124, 93, 83, 114, 1, 7, 59, 35,
- 18, 30, 40, 155, 146, -28, 16, 11,
- -100, 96, 41, 77, 3, 74, -19, -12,
- -102, -10, 55, -27, 13, -8, -36, -79,
- -63, -11, 70, 17, -30, -2, -122, -51,
- -74, -27, 19, -50, -69, -73, -81, -77,
+ -118, 103, 89, 122, 4, 9, 65, 38,
+ 28, 39, 43, 161, 152, -26, 12, 13,
+ -98, 100, 45, 85, -2, 73, -28, -15,
+ -103, -11, 55, -28, 13, -11, -42, -79,
+ -63, -15, 68, 15, -30, -5, -132, -49,
+ -78, -42, 11, -51, -63, -80, -96, -78,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -47, 60, 89, 40, -23, 63, 30, 13,
- 77, 71, 117, 42, 70, 80, 126, -8,
- -22, 34, 48, -13, 33, 49, -9, -2,
- -73, -53, 27, 12, 18, -90, -89, -82,
- -92, 16, 43, 15, 42, 38, -37, -36,
- -94, -106, 35, -34, -90, -85, -129, -72,
+ -49, 61, 90, 46, -19, 67, 34, 16,
+ 81, 68, 122, 51, 77, 86, 125, -8,
+ -25, 33, 51, -16, 33, 43, -11, -8,
+ -71, -47, 27, 9, 23, -85, -89, -76,
+ -94, 13, 36, 10, 40, 30, -49, -37,
+ -92, -108, 31, -33, -88, -91, -136, -69,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 52, 39, -40, 107, -8, 81, -10, -63,
- 26, 86, 99, 117, 22, 44, 61, 43,
- -104, 2, 33, 37, 31, -10, 20, 2,
- -63, 3, 30, 13, 31, -28, 9, -39,
- -135, -62, 3, 54, -10, 38, -10, -98,
- -87, -100, 0, -66, -7, 7, -91, -61,
+ 52, 46, -33, 113, 4, 86, -4, -55,
+ 32, 91, 94, 127, 34, 55, 68, 42,
+ -101, 1, 35, 47, 37, -1, 18, 3,
+ -59, -1, 22, 9, 34, -34, 1, -40,
+ -134, -74, -7, 42, -20, 28, -26, -100,
+ -86, -108, -10, -60, -6, 2, -103, -61,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -32, -16, 28, 36, 41, 22, -37, -24,
- -35, 21, -5, 61, 137, 118, 71, 57,
- -61, -21, 32, 109, 107, 165, 105, 56,
- -133, -41, -23, 24, -22, 57, 18, -87,
- -104, -68, -35, -50, 15, 59, 38, -23,
- -127, -133, -6, -58, -2, -62, -77, -94,
+ -26, -10, 34, 39, 47, 28, -35, -19,
+ -28, 20, 0, 58, 144, 133, 75, 54,
+ -68, -27, 22, 104, 102, 159, 99, 47,
+ -128, -40, -22, 23, -24, 58, 22, -81,
+ -104, -73, -34, -52, 15, 54, 28, -28,
+ -130, -139, -8, -51, -2, -63, -83, -88,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -79, -58, 24, 39, 83, 187, 1, -46,
- -12, -23, -3, 113, 76, 178, 57, -55,
- -17, 5, 51, -68, 133, 108, 15, -38,
- -56, -59, -62, -6, 78, 77, 45, -63,
- -102, -91, -33, -26, 28, 25, 21, -47,
- -91, -74, -75, -80, 6, 6, -13, -80,
+ -79, -58, 24, 44, 86, 187, 5, -39,
+ -13, -17, 1, 115, 80, 180, 59, -52,
+ -16, 8, 49, -69, 130, 106, 10, -32,
+ -55, -60, -62, -10, 79, 70, 44, -64,
+ -97, -84, -26, -26, 32, 24, 18, -47,
+ -95, -88, -87, -80, 2, 1, -17, -81,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 29, -3, 65, 34, 36, 46, -79, 25,
- -17, 65, -31, -7, 69, 140, 39, 11,
- -86, -54, -84, 65, 73, 152, 60, -51,
- -37, -66, -71, 10, 53, 130, 54, -46,
- -112, -74, -42, -10, 23, 18, 78, -51,
- -120, -109, -61, -41, 6, -34, 55, -48,
+ 31, -4, 66, 33, 37, 51, -71, 31,
+ -13, 64, -34, -4, 75, 143, 42, 12,
+ -86, -54, -83, 64, 67, 144, 57, -48,
+ -36, -63, -70, 11, 57, 132, 58, -43,
+ -107, -67, -36, -13, 24, 21, 74, -53,
+ -126, -124, -76, -39, 2, -39, 41, -50,
0, 0, 0, 0, 0, 0, 0, 0,
],
];
@@ -632,232 +632,232 @@ internal static class TunableEvalParameters
[
[
0, 0, 0, 0, 0, 0, 0, 0,
- 102, 28, -9, -36, 29, -48, -108, -48,
- 90, 51, 13, -16, -39, -3, 11, 31,
- 26, 17, 20, 3, -10, -1, -4, 21,
- -12, -1, 5, -7, -20, -10, -13, 3,
- -32, -18, -10, -4, -3, -9, -3, 7,
- -39, -3, 11, 31, -28, 7, 9, 15,
+ 102, 26, -5, -33, 30, -47, -112, -48,
+ 93, 53, 14, -15, -37, -2, 11, 31,
+ 27, 15, 20, 4, -10, -2, -6, 20,
+ -11, -0, 6, -6, -19, -10, -14, 3,
+ -30, -17, -9, -2, -2, -8, -3, 9,
+ -40, -5, 7, 29, -29, 5, 6, 14,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 27, 43, 53, -103, -20, -83, -52, -0,
- 49, 89, 35, -17, -17, -22, 44, 46,
- 5, -1, 7, -3, -4, -1, -2, 16,
- -14, -18, -5, -15, -13, -15, -10, 5,
- -16, -25, 0, -4, 9, 3, 11, 12,
- -25, -15, 6, -12, -4, 7, 26, 23,
+ 28, 43, 55, -100, -16, -79, -50, 4,
+ 48, 89, 35, -17, -17, -23, 43, 46,
+ 6, 0, 7, -3, -5, -3, -4, 15,
+ -14, -16, -4, -14, -13, -15, -11, 5,
+ -17, -27, -1, -6, 8, 2, 7, 12,
+ -24, -15, 5, -13, -5, 7, 25, 24,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -36, 31, -47, -2, -74, -21, -14, -20,
- 41, 46, 16, -26, 13, -7, 29, 33,
- 7, 17, -3, -4, -1, -3, -3, 16,
- -9, -8, -11, -8, -4, -5, -8, 10,
- -13, -7, -4, 5, 6, 2, 13, 23,
- -7, -24, 7, -10, 8, 5, 18, 32,
+ -36, 30, -46, 1, -68, -16, -11, -16,
+ 42, 46, 18, -25, 14, -7, 29, 34,
+ 7, 15, -4, -5, -3, -6, -7, 15,
+ -8, -9, -11, -9, -5, -7, -10, 10,
+ -17, -16, -8, -0, 3, -3, 6, 21,
+ -2, -20, 13, -7, 12, 9, 24, 36,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -17, -13, -11, 23, 25, -50, -32, -30,
- 40, 42, 22, 16, 21, 8, 24, 38,
- 7, 7, -10, -25, -17, -6, 7, 3,
- -0, -3, -18, -10, -5, -14, -9, -5,
- -3, -10, -5, -4, -4, -6, -7, -0,
- 4, -2, 0, 15, -1, -0, 2, 13,
+ -16, -12, -11, 23, 27, -48, -30, -29,
+ 40, 41, 23, 15, 21, 8, 24, 39,
+ 6, 4, -13, -26, -20, -10, 3, 1,
+ -1, -5, -20, -10, -6, -17, -12, -6,
+ -3, -12, -5, -4, -3, -6, -8, 0,
+ 7, 2, 3, 18, 2, 2, 7, 16,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -11, -12, -32, 41, -9, -21, -31, -0,
- 22, 20, 9, -15, 9, 2, 34, 30,
- 4, -16, -8, -14, -9, -17, -9, 6,
- -7, -2, -14, -2, -2, -8, -11, -2,
- 2, 11, 11, 14, 9, 0, -4, -3,
- 7, 10, 18, 7, 18, -11, -11, -3,
+ -7, -9, -26, 45, -7, -17, -30, 3,
+ 24, 20, 10, -14, 11, 2, 34, 31,
+ 4, -18, -10, -18, -12, -21, -13, 5,
+ -5, -3, -13, -3, -1, -10, -14, -3,
+ -1, 2, 7, 8, 4, -6, -13, -7,
+ 12, 13, 22, 9, 22, -8, -5, 3,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -0, -23, -14, -57, -12, -16, 67, -23,
- 19, 17, 0, -12, -13, -7, 57, 16,
- 22, 5, -6, -2, -17, -14, -2, 13,
- 7, 6, -6, -9, -5, -15, -15, -7,
- 13, 13, 3, -8, 4, -8, -8, -4,
- 18, 14, 9, 13, 2, -1, -16, 2,
+ 0, -23, -15, -58, -13, -17, 68, -23,
+ 18, 16, 0, -12, -15, -8, 56, 13,
+ 21, 4, -7, -4, -19, -16, -4, 12,
+ 6, 7, -6, -9, -6, -15, -16, -8,
+ 11, 10, 2, -10, 3, -11, -13, -6,
+ 21, 20, 14, 16, 8, 5, -6, 7,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 2, 11, -61, -12, -40, 9, 19, 55,
- 29, 4, -20, -28, -6, 0, 29, 49,
- 8, -4, -9, -18, -14, -12, -4, 2,
- 2, -2, -9, -3, -5, -9, -14, -17,
- 8, 10, 6, 13, 9, 4, -14, -23,
- 16, 22, 13, 7, 26, 10, -13, -26,
+ 7, 16, -55, -5, -33, 14, 22, 60,
+ 32, 7, -15, -24, -3, 3, 30, 52,
+ 10, -4, -9, -17, -13, -11, -4, 3,
+ 3, -5, -10, -5, -6, -13, -16, -20,
+ 7, 2, 2, 8, 2, -2, -25, -28,
+ 17, 17, 13, 8, 23, 8, -19, -25,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 41, -36, 7, -48, -24, -24, 45, 39,
- 32, 11, 3, -7, -6, 8, 25, 35,
- 9, 4, -13, -18, -12, -7, -10, -1,
- 3, -8, -11, -8, -11, -2, -15, -23,
- 4, 7, 2, 5, 8, 2, -3, -23,
- 7, 10, 10, 24, 19, 14, -23, -44,
+ 49, -31, 12, -42, -20, -17, 49, 44,
+ 35, 13, 5, -3, -3, 10, 26, 39,
+ 11, 3, -14, -18, -12, -7, -12, 1,
+ 3, -12, -14, -11, -15, -6, -20, -23,
+ 3, -2, -2, -0, 2, -5, -15, -25,
+ 10, 8, 11, 26, 19, 16, -25, -40,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 6, -16, 32, -19, -58, -30, -45, -30,
- 49, 69, 26, 11, -19, 11, 8, 17,
- 18, 22, 3, 1, -6, -10, -8, 8,
- 6, 2, 4, -3, -10, -16, -16, 3,
- -1, -9, 0, -9, -2, -8, -8, 3,
- 4, 2, -1, -5, -5, 4, 4, 21,
+ 3, -19, 30, -21, -60, -30, -49, -34,
+ 49, 69, 26, 10, -20, 12, 8, 16,
+ 17, 22, 3, 2, -5, -10, -8, 6,
+ 6, 3, 4, -2, -9, -16, -17, 2,
+ -0, -7, 1, -7, -0, -7, -6, 3,
+ 4, 5, -1, -3, -4, 6, 8, 21,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -16, -17, 53, -40, -33, -32, 1, -47,
- 37, 53, 29, 7, -5, 2, 8, 13,
- 17, 8, 9, -9, -6, -13, 4, 5,
- 10, 13, -13, -10, -9, -12, -9, 1,
- 3, -1, -3, -13, -7, -12, -3, 13,
- 6, 5, -7, -4, -4, -2, 3, 27,
+ -20, -20, 47, -44, -35, -35, -5, -51,
+ 34, 52, 29, 6, -5, 1, 7, 11,
+ 16, 8, 9, -9, -6, -13, 4, 3,
+ 10, 16, -11, -7, -7, -11, -7, -0,
+ 4, 2, 0, -11, -4, -9, 2, 14,
+ 6, 7, -5, -4, -3, 1, 9, 26,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 2, -24, -12, -37, -27, -14, -19, -9,
- 34, 25, 20, -7, 15, -3, 5, 21,
- 19, 11, -3, -2, -8, -11, -2, 5,
- 13, 5, -2, -12, -8, -6, -5, 2,
- 7, -2, -3, -13, -9, -11, -8, 10,
- 21, -1, -2, 14, 7, -2, 1, 22,
+ -2, -27, -15, -41, -33, -18, -22, -12,
+ 32, 23, 18, -8, 14, -4, 5, 19,
+ 18, 11, -3, -2, -8, -11, -2, 3,
+ 13, 7, -1, -9, -6, -4, -3, 1,
+ 8, 1, -1, -9, -5, -8, -4, 12,
+ 20, 3, -2, 14, 7, 0, 7, 22,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -5, -27, -6, -45, 45, -13, -13, -24,
- 16, 8, 2, -1, 8, 10, 3, 17,
- 13, 4, -0, -2, 2, -7, 3, 8,
- 9, 4, -3, -12, -9, -9, -3, -1,
- 9, -1, -2, -7, -6, -7, -2, 2,
- 22, 8, -0, 7, -3, 1, -2, 12,
+ -8, -31, -10, -48, 42, -18, -16, -29,
+ 14, 6, 0, -2, 7, 8, 2, 15,
+ 12, 4, 0, -2, 3, -7, 3, 6,
+ 8, 6, -1, -10, -7, -8, -1, -2,
+ 10, 2, -0, -6, -3, -6, 2, 4,
+ 22, 12, 1, 6, -2, 3, 5, 12,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -3, -23, -18, -28, -47, -0, 55, -5,
- 17, -2, -6, 0, 0, 19, 22, 31,
- 2, -0, -0, -6, -2, 0, 3, 5,
- 5, -1, -6, -8, -9, -6, -3, -3,
- 6, 1, -4, -8, -10, -4, -7, -2,
- 19, 10, 2, 8, 6, -4, -3, 4,
+ -5, -25, -19, -30, -49, -3, 54, -7,
+ 16, -3, -6, -1, -1, 19, 21, 29,
+ 1, -0, 0, -6, -1, 0, 2, 4,
+ 5, 0, -5, -6, -7, -5, -3, -4,
+ 7, 3, -2, -7, -8, -2, -5, -0,
+ 18, 11, 2, 8, 6, -3, -1, 4,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -13, -27, -37, -15, -32, 9, 43, 49,
- 4, 3, -9, -9, -9, 13, 40, 51,
- 0, -8, -8, -13, -4, 3, 8, 9,
- -1, -7, -8, -8, -7, -3, -5, -2,
- 0, -3, -3, -3, -0, -9, -10, -2,
- 11, 6, 7, 0, 3, -1, -0, 0,
+ -14, -28, -38, -16, -32, 8, 43, 49,
+ 3, 2, -10, -9, -10, 13, 40, 50,
+ -1, -9, -8, -13, -4, 2, 7, 8,
+ -2, -7, -8, -7, -7, -3, -6, -2,
+ 1, -2, -2, -2, 2, -8, -8, -0,
+ 11, 7, 6, -1, 3, -0, 2, 1,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -23, -31, -27, -18, -22, -20, 40, 61,
+ -23, -31, -27, -18, -23, -20, 39, 61,
4, -8, 1, -14, -5, 17, 54, 57,
- -0, -8, -12, -7, -12, 3, 10, 17,
- -7, -11, -12, -15, -4, -3, 1, -11,
- -2, -8, -3, -1, -3, 4, -13, -21,
- 5, 6, -0, 14, 12, 3, 2, 9,
+ -1, -8, -13, -6, -12, 2, 9, 17,
+ -7, -12, -11, -14, -4, -3, 1, -10,
+ -1, -7, -3, -1, -2, 4, -12, -18,
+ 4, 5, -1, 12, 10, 3, 4, 11,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 40, 33, 49, -37, -85, -80, -81, -41,
- 34, 102, 55, -11, -22, -34, -20, 10,
- 27, 51, 11, -20, -10, -10, -11, -1,
- 29, 32, 21, -5, -16, -5, -13, -4,
- 15, 3, -12, -14, -6, -18, -6, 5,
- 33, 9, -1, 5, -10, 7, -9, 10,
+ 38, 32, 48, -38, -85, -81, -86, -43,
+ 34, 101, 55, -11, -21, -34, -22, 8,
+ 26, 51, 11, -18, -9, -10, -11, -1,
+ 28, 30, 20, -4, -17, -7, -16, -6,
+ 16, 6, -10, -12, -3, -17, -4, 6,
+ 34, 12, -1, 6, -9, 9, -3, 11,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 30, -18, 38, -27, -39, -106, -113, -59,
- 90, 74, 68, 42, -28, -37, -18, -27,
- 87, 19, 47, 13, -24, -29, -9, -32,
- 71, 23, 20, -1, -17, -15, -3, -15,
- 34, -4, -4, -6, -16, -17, -17, -13,
- 50, -16, -2, 14, -16, -2, -5, 15,
+ 25, -24, 33, -31, -40, -109, -120, -65,
+ 88, 73, 66, 43, -28, -36, -18, -30,
+ 87, 20, 48, 16, -21, -25, -6, -30,
+ 68, 21, 19, 1, -16, -16, -5, -18,
+ 36, 1, -1, -4, -12, -14, -9, -12,
+ 49, -13, -1, 15, -19, -0, 2, 13,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 4, -45, -21, -13, 18, -37, -120, -64,
- 55, 68, 58, 42, 11, -4, -24, -15,
- 60, 47, 39, 29, -4, -31, -18, -21,
- 42, 27, 1, 14, -21, -20, -21, -10,
- 14, 12, -12, 2, -22, -26, -13, -10,
- 17, -1, -8, 42, 7, -22, -11, 4,
+ -3, -51, -26, -19, 13, -41, -124, -69,
+ 53, 65, 56, 40, 10, -3, -24, -16,
+ 59, 45, 39, 28, -2, -30, -16, -20,
+ 41, 27, 1, 16, -21, -19, -20, -12,
+ 15, 17, -10, 4, -20, -25, -7, -11,
+ 19, 7, -4, 41, 5, -17, 3, 5,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -53, -49, 2, -11, 12, -41, -74, -82,
- 6, 43, 40, 41, 42, 29, -35, -6,
- 27, 15, 42, 30, 14, -10, 3, -5,
- 22, 20, 11, -5, -4, 1, 2, -0,
- 20, -13, -9, -6, -8, -26, -20, -9,
- 16, 5, -9, 9, 6, 0, 10, 8,
+ -60, -53, -4, -18, 5, -47, -79, -89,
+ 5, 44, 38, 40, 41, 30, -33, -6,
+ 26, 15, 41, 31, 15, -8, 5, -3,
+ 20, 21, 11, -3, -4, 1, 4, -3,
+ 23, -4, -5, -2, -4, -21, -7, -6,
+ 13, 7, -11, 6, 4, 1, 15, 5,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -88, -66, -20, -16, 4, -15, -23, -17,
- -16, -9, 14, 28, 48, 34, 11, -6,
- 11, 16, 3, 35, 25, 34, 5, 2,
- 4, -1, -1, 11, -2, 22, 5, 7,
- 8, -12, -13, -3, -5, -1, -12, 12,
- 7, 2, -4, -21, -15, 1, 4, 12,
+ -94, -73, -28, -25, -4, -24, -30, -24,
+ -18, -10, 15, 26, 47, 32, 11, -5,
+ 12, 19, 5, 35, 27, 33, 9, 2,
+ 1, 2, 1, 13, -3, 21, 6, 6,
+ 11, -1, -9, 2, 0, 3, 1, 14,
+ 4, 8, -4, -23, -16, 4, 11, 10,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -67, -57, -70, -21, 22, -14, 23, -18,
- -0, -0, 6, 12, 28, 18, 32, 34,
- 1, -5, -19, -7, 26, -7, 20, 13,
- 14, -3, -3, 4, 21, -0, 24, 19,
- -0, -10, -12, -15, -4, -10, -7, -2,
- 16, 12, -14, -4, -24, 12, 12, 25,
+ -74, -62, -74, -25, 15, -20, 19, -23,
+ -1, 0, 6, 11, 25, 15, 30, 35,
+ 2, -2, -15, -4, 29, -5, 22, 15,
+ 12, -2, -1, 7, 20, -2, 23, 16,
+ 2, -1, -10, -11, -1, -7, 1, 1,
+ 14, 14, -15, -6, -26, 14, 16, 23,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -71, -68, -58, -85, -19, 2, 25, 22,
- -12, -8, 7, -18, 39, 42, 64, 75,
- -22, -19, -26, 12, -10, 30, 56, 56,
- -13, -14, -7, -13, -15, 11, 14, 41,
- 4, -13, -25, -8, -22, 0, -4, 22,
- 9, -5, -13, 10, -10, 1, 2, 34,
+ -74, -70, -62, -89, -23, -2, 22, 17,
+ -13, -9, 7, -18, 40, 42, 63, 74,
+ -22, -19, -24, 14, -8, 30, 57, 55,
+ -14, -12, -6, -9, -15, 11, 12, 40,
+ 4, -9, -25, -5, -19, 1, 2, 24,
+ 7, -1, -12, 8, -11, 4, 6, 34,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -97, -94, 2, -60, -63, 18, 87, -4,
- 11, -42, -1, 20, 17, 58, 79, 4,
- -5, -18, 5, -29, 17, 13, 64, 14,
- -12, -24, 8, -14, 4, -8, 37, 27,
- 8, -18, -20, -21, -10, -11, 15, 18,
- 5, 1, -0, 25, -32, 7, 7, 15,
+ -99, -98, -4, -63, -66, 15, 82, -8,
+ 10, -42, -4, 17, 15, 56, 76, 3,
+ -6, -17, 6, -27, 21, 15, 67, 14,
+ -12, -24, 10, -11, 5, -8, 37, 26,
+ 7, -15, -20, -17, -8, -11, 20, 20,
+ 5, 4, 1, 23, -34, 9, 14, 16,
0, 0, 0, 0, 0, 0, 0, 0,
],
];
@@ -865,1872 +865,1872 @@ internal static class TunableEvalParameters
internal static readonly short[][] MiddleGameKnightTable =
[
[
- -105, -35, -23, -70, -81, -61, -4, -69,
- 67, -12, -23, 63, 68, -34, 26, 0,
- -18, 33, 109, 19, 42, 19, 6, -12,
- 9, 66, 43, 66, 25, 2, 2, -52,
- 34, 19, 37, 45, 8, 3, 32, -27,
- 37, -4, 27, 9, 22, -12, -23, -30,
- -18, 11, 39, 17, -13, -67, 17, -60,
- 41, 13, -13, 9, -10, -45, -74, -92,
- ],
- [
- -29, -29, 46, -35, -83, -37, -146, -20,
- 7, 5, 29, 62, 35, -8, -2, 22,
- 6, 25, 54, 52, 7, 10, 18, 16,
- -0, 35, 20, 32, 30, 5, 3, -10,
- 17, 24, 10, 26, 12, 7, -13, -12,
- 12, 9, 21, 13, 20, -6, -1, -28,
- -31, 2, 5, 2, 2, -9, -27, -69,
- -27, -56, 30, 13, 6, -5, -12, -54,
- ],
- [
- -77, -78, -51, 0, 97, 43, -92, -41,
- -40, 14, 35, 50, 43, 11, -16, 10,
- -21, 46, 23, 21, 40, 1, -12, -19,
+ -107, -36, -23, -73, -82, -64, -4, -71,
+ 69, -11, -23, 62, 67, -34, 24, 1,
+ -20, 35, 111, 20, 42, 19, 7, -12,
+ 9, 69, 44, 67, 27, 3, 4, -53,
+ 35, 20, 39, 45, 10, 5, 33, -26,
+ 37, -3, 29, 9, 20, -11, -20, -29,
+ -18, 10, 37, 16, -14, -68, 17, -60,
+ 39, 12, -13, 8, -11, -46, -76, -93,
+ ],
+ [
+ -29, -30, 46, -35, -82, -37, -148, -19,
+ 7, 5, 29, 62, 35, -9, -3, 21,
+ 5, 25, 54, 53, 6, 10, 18, 15,
+ -1, 36, 20, 33, 31, 6, 4, -10,
+ 17, 25, 10, 26, 13, 8, -13, -12,
+ 14, 10, 23, 14, 20, -5, 1, -27,
+ -31, 1, 4, 1, 1, -10, -28, -69,
+ -27, -57, 29, 12, 5, -5, -14, -55,
+ ],
+ [
+ -77, -79, -51, -0, 98, 43, -90, -41,
+ -41, 16, 35, 51, 42, 10, -15, 11,
+ -20, 46, 23, 22, 40, 1, -13, -19,
-1, 14, 23, 31, 25, 18, 6, 20,
- 15, 22, 11, 17, 4, 7, -7, 2,
- -20, 4, 19, 10, 15, -10, 2, -28,
- 7, -2, 6, -2, -2, -10, -31, -46,
- -33, -4, -53, 31, -9, -9, -17, -14,
- ],
- [
- -134, -62, -51, -58, -61, -83, 25, -17,
- -49, -44, 27, 27, 68, -23, -39, -3,
- 88, -31, -1, 33, 3, -16, -1, -59,
- 6, 5, 30, 17, 42, 12, 6, 22,
- -15, 36, -0, 19, 15, 25, 12, 29,
- -19, 17, 19, 29, 26, 6, 39, 8,
- -57, -36, 19, 10, 7, -28, 69, -17,
- 14, -7, 41, -19, 24, 14, -6, 48,
- ],
- [
- -54, -100, -109, -86, -44, 22, -14, -22,
- -24, -11, 12, -33, 7, 43, -20, -34,
- -33, 22, 23, 8, 32, -3, -3, -16,
- 11, -1, 6, 18, 22, 31, 3, 9,
- 4, 30, 12, 28, 12, 21, -0, 11,
- -6, 14, 11, 35, 31, 19, 22, -3,
- -25, 12, 14, 11, 21, 17, 16, -15,
- 24, 8, 21, 16, -45, 8, 13, 6,
- ],
- [
- -80, -126, -27, -51, 6, -161, -13, -107,
- -31, -4, 21, 34, -10, 9, -70, 5,
- -10, -8, 13, 12, 13, 13, 75, -40,
- 11, -10, 6, 34, 49, 54, 35, 1,
- -30, -9, 8, 33, 32, 56, 28, 30,
- -38, -16, 11, 45, 28, 31, 37, 25,
- 14, -54, 36, 12, 11, 31, 14, -29,
- 51, -34, -30, 15, 31, -34, 25, 27,
- ],
- [
- -66, -82, -35, -13, 58, -43, -23, -49,
- 4, 2, 9, 18, 33, 48, 16, -34,
- -13, 20, 33, 21, 43, 31, 4, -3,
- 12, -1, 10, 18, 22, 22, 7, 9,
- -4, 11, 4, 17, -0, 10, 6, 4,
- -21, -1, -2, 16, 20, 10, 10, 1,
- -28, -16, -6, 8, 8, -9, -2, -2,
+ 15, 21, 10, 17, 4, 7, -7, 2,
+ -20, 2, 18, 9, 15, -11, 2, -28,
+ 7, -2, 6, -2, -2, -10, -32, -45,
+ -31, -4, -53, 31, -8, -8, -17, -14,
+ ],
+ [
+ -133, -63, -48, -59, -62, -82, 27, -17,
+ -50, -43, 25, 27, 67, -23, -39, -4,
+ 89, -31, 0, 34, 4, -13, -2, -60,
+ 7, 5, 29, 18, 43, 12, 6, 21,
+ -14, 35, -0, 18, 16, 23, 12, 28,
+ -19, 16, 18, 28, 25, 5, 40, 8,
+ -53, -35, 20, 9, 6, -28, 68, -16,
+ 13, -8, 41, -20, 25, 14, -7, 47,
+ ],
+ [
+ -53, -100, -106, -83, -44, 21, -11, -21,
+ -24, -9, 13, -31, 8, 43, -21, -34,
+ -32, 21, 23, 7, 31, -4, -3, -17,
+ 10, -1, 5, 16, 21, 29, 4, 9,
+ 3, 29, 11, 27, 11, 18, -0, 10,
+ -7, 12, 9, 34, 29, 16, 20, -4,
+ -25, 12, 14, 12, 21, 19, 16, -14,
+ 26, 10, 21, 17, -45, 10, 13, 6,
+ ],
+ [
+ -81, -125, -29, -49, 6, -161, -13, -106,
+ -30, -5, 21, 33, -10, 9, -71, 4,
+ -9, -10, 14, 13, 14, 15, 75, -39,
+ 12, -10, 6, 34, 50, 53, 36, 2,
+ -31, -9, 8, 33, 33, 56, 27, 30,
+ -39, -17, 11, 45, 26, 30, 38, 25,
+ 14, -55, 36, 11, 11, 32, 14, -29,
+ 52, -34, -30, 16, 32, -34, 24, 28,
+ ],
+ [
+ -67, -82, -35, -14, 56, -44, -24, -48,
+ 5, 3, 9, 18, 33, 46, 16, -35,
+ -14, 19, 33, 22, 43, 31, 4, -3,
+ 12, -1, 11, 18, 22, 23, 8, 9,
+ -4, 11, 4, 18, 1, 11, 6, 5,
+ -20, -1, -1, 16, 21, 10, 13, 1,
+ -29, -16, -7, 7, 7, -9, -2, -2,
-37, -12, -4, 8, -6, 19, -69, -12,
],
[
- -124, -9, -142, 0, -117, 108, -66, 36,
- 10, -10, 24, -0, 48, 78, 31, 27,
- -31, 7, 31, 16, 45, 83, 28, 54,
- -8, -12, 3, 22, 42, 28, 36, 4,
- -19, 12, 8, 24, 6, 20, 31, 26,
- -35, -18, -13, 13, 23, 1, 18, 6,
- -46, -26, -16, -11, -7, -7, -2, 7,
- -77, -45, -28, -18, -22, -5, 28, -68,
- ],
- [
- -58, 17, 49, 31, -24, -65, -101, -71,
- -53, -87, 84, 7, -107, 45, 15, -26,
- -70, 50, 120, 65, 6, 31, 66, 38,
- 47, 58, 53, 29, 55, 42, 25, -43,
- -8, 49, 2, 37, 7, 3, 3, -20,
- 21, 20, 12, 11, 34, 11, -4, -12,
- -25, -18, 36, 11, 11, -33, -76, -10,
- -21, -2, 5, 31, -36, -36, -38, -194,
- ],
- [
- -106, -63, 26, 35, -34, -30, -62, -109,
- 84, -28, -99, 73, 45, 31, -57, -51,
- 56, 31, 10, 53, 7, -3, 31, 27,
- 42, 44, 44, 61, 30, 37, -15, 57,
- 28, 38, 3, 22, 21, 8, -27, -36,
- -3, 23, 28, 8, 2, -14, 3, -14,
- -13, -40, 49, 30, -25, 5, -23, -39,
- -67, -21, 15, -27, -18, -19, -43, -22,
- ],
- [
- -71, -54, -66, -3, 6, -69, -52, -71,
- -67, 2, -51, -93, 55, -58, 6, 59,
- 10, 18, 63, 44, -1, -6, -14, -68,
- 51, -8, 24, 55, 65, 16, 12, 51,
- -0, 48, 36, 54, 28, 25, 12, -24,
- -4, 23, 25, 31, 34, 10, 9, -33,
- 9, 0, 8, 25, 15, 20, -13, -20,
- 8, -2, 11, 3, -23, -49, -4, -47,
- ],
- [
- -89, -22, -57, -34, -75, -98, -42, -118,
- 13, -12, -26, -56, -93, 39, -6, -4,
- 26, 38, 52, 27, 20, 77, -7, 20,
- -2, 9, 37, 46, 49, 43, 3, 48,
- -45, 7, 19, 50, 11, 29, 36, 21,
- -24, 13, 18, 26, 36, 11, 11, 5,
- 94, 30, -14, 15, 24, 21, 45, -47,
- -78, -20, -43, -42, 14, -43, 13, -4,
- ],
- [
- -48, -94, -107, -132, -35, -38, -35, -43,
- -29, -31, -42, -14, 20, -17, -86, -14,
- -22, 21, 34, 9, 57, 59, 12, 72,
- 9, -15, 21, 34, 60, 53, 42, 17,
- 12, -17, 31, 34, 34, 31, 51, 16,
- -41, -2, 4, 14, 32, 45, 38, -0,
- 9, -4, -8, 4, 14, 78, 9, 6,
- -23, -36, -43, 2, -3, 14, 16, -34,
- ],
- [
- -93, -62, -29, 39, 133, -12, -77, -74,
- -47, -53, -8, 54, -11, 17, -3, -64,
- -45, -17, 31, 14, 39, 72, 43, 71,
- -33, -9, 5, 39, 48, 56, 21, 35,
- -26, -24, -2, 33, 20, 31, 10, 32,
- -28, -16, 5, 20, 34, 9, 32, 26,
- -46, -34, -38, -3, 2, 35, 32, -8,
- -124, -38, -9, -33, -6, 7, 30, -4,
- ],
- [
- -186, -44, -119, 44, 13, 46, 40, 14,
- -10, -15, -22, 79, 53, 92, -47, 147,
- -56, -35, 20, 13, 14, 28, 40, 39,
- -43, 0, 21, 25, 26, 36, 38, 23,
- -32, -5, -9, 11, 19, 12, 27, 7,
- -53, -27, -9, 24, 31, 5, 16, 20,
- -93, -49, -29, -11, 4, -4, -25, 25,
- -77, -37, -30, -6, -34, 25, 9, 22,
- ],
- [
- -14, 15, -16, 14, -10, -6, 6, -29,
- 25, -12, 41, 16, 67, -37, 96, 20,
- 23, 45, 33, 27, -39, -86, -18, -15,
- 139, -7, 82, 65, 90, -21, 67, -21,
- 29, -58, 67, -2, -9, -34, -65, 46,
- -62, 36, 44, -11, -138, 11, -103, -16,
- 101, 48, 39, -77, 1, -36, -39, -52,
- 71, -39, -36, -11, 6, -86, -198, 32,
- ],
- [
- 75, -2, 36, -0, -9, 20, -10, -32,
- 13, 17, 52, -0, 14, -5, -22, 8,
- 13, -20, 13, 9, 47, -25, 2, -25,
- 28, -19, 86, 101, -43, -26, -7, 33,
- -2, -14, 27, -3, 39, -25, 8, -39,
- 50, 57, -25, -16, 47, -89, -2, -28,
- -6, 4, -63, -118, -17, 5, -3, 29,
- -22, 10, -30, -36, 3, -48, -15, -2,
- ],
- [
- 2, 17, 5, 16, -6, -19, -12, 18,
- -14, 25, -10, 9, 9, 3, 23, -41,
- -51, 1, -45, 79, 88, -14, 69, -25,
- 3, 42, 79, 78, 101, 37, 67, 5,
- 29, -76, 39, 42, 130, -50, -9, -24,
- -6, -38, 0, -64, -21, -36, -31, -7,
- -34, -42, -30, -39, -109, 16, -11, 1,
- -3, 10, -50, -14, 9, -20, -87, -18,
- ],
- [
- 1, -20, 56, 11, -25, 15, -13, 7,
- -11, 7, -57, 24, 55, 1, -3, -2,
- -6, 18, 31, 83, 128, 76, 21, -1,
- 30, 37, 39, 94, -18, -23, 10, -34,
- 31, -17, -20, 3, 166, -1, -20, 17,
- -19, -53, -44, 4, -71, -26, -56, -13,
- -45, -25, -60, -50, -51, 3, -25, -12,
- -5, -9, -64, -11, 26, -33, -30, -19,
- ],
- [
- -35, -12, -10, 8, 1, 49, -1, 41,
- 3, -4, 27, 37, 10, 2, -36, -35,
- -16, -40, 16, -11, 85, 20, -44, -6,
- -62, -1, -2, 64, 80, 16, 80, -21,
- -8, 24, -2, 8, 95, 66, 47, -37,
- -2, -58, -8, 1, -4, -31, 73, 16,
- -35, -7, -3, -77, -19, 19, -18, -11,
- -15, -100, -18, 24, -29, -54, -44, 4,
- ],
- [
- -21, 8, -1, -18, 24, 20, 9, -12,
- -30, -22, 39, 18, 50, 57, 7, -40,
- 16, 18, -8, -28, 143, -2, 82, -27,
- 11, -4, 21, 15, -57, 18, 55, 16,
- -47, 6, 18, 1, 38, 67, 36, 48,
- -61, -30, -52, 71, -5, -55, -102, 10,
- -17, -7, -50, -53, -3, -34, 8, 5,
- -4, -61, -29, -32, -19, -14, -29, 37,
- ],
- [
- 11, -16, 34, 42, -19, 3, -1, 3,
- -65, -22, 26, 64, 95, -17, 41, 39,
- -27, 16, -19, -48, 58, 62, 85, 61,
- -19, 56, 1, -72, 20, 20, -13, 39,
- -12, -56, -21, -99, -22, 73, 51, 29,
- -50, -6, -24, 44, -24, 5, -47, -19,
- -2, 24, -12, -83, -24, -17, -2, -14,
- 28, -37, -37, -58, -5, -35, -2, 18,
- ],
- [
- -12, 5, 1, -25, 38, -12, 1, 39,
- 21, -10, -20, 41, 31, -3, -34, 20,
- -43, -11, -25, 39, 89, 82, 60, 30,
- -65, -11, 43, 27, 39, -5, 87, 23,
- -52, -23, -35, -60, 52, 60, 56, 60,
- -46, 22, 7, -32, -36, -47, -23, -32,
- -45, -29, -21, -83, 13, 30, -19, -7,
- 4, -89, 6, -8, -2, -10, -35, -15,
+ -125, -10, -142, -3, -119, 108, -66, 35,
+ 10, -10, 24, 1, 47, 78, 31, 27,
+ -32, 6, 30, 17, 45, 83, 27, 54,
+ -9, -12, 3, 23, 42, 29, 37, 3,
+ -19, 12, 8, 25, 6, 20, 31, 27,
+ -34, -17, -11, 13, 23, 2, 21, 7,
+ -48, -26, -17, -11, -7, -7, -2, 7,
+ -77, -45, -28, -18, -22, -5, 27, -69,
+ ],
+ [
+ -57, 17, 49, 29, -24, -65, -101, -70,
+ -50, -88, 85, 5, -106, 46, 15, -27,
+ -70, 49, 120, 66, 6, 33, 64, 38,
+ 47, 57, 53, 30, 55, 42, 27, -43,
+ -10, 48, 1, 37, 7, 3, 2, -21,
+ 21, 20, 13, 10, 33, 10, -3, -12,
+ -24, -20, 36, 12, 11, -33, -76, -11,
+ -21, -1, 6, 31, -35, -34, -37, -193,
+ ],
+ [
+ -110, -64, 24, 32, -37, -32, -62, -114,
+ 83, -29, -98, 73, 44, 30, -58, -54,
+ 53, 35, 11, 55, 8, -2, 32, 29,
+ 43, 47, 47, 66, 34, 39, -14, 55,
+ 31, 41, 6, 25, 23, 9, -26, -34,
+ -1, 25, 31, 9, 3, -12, 7, -14,
+ -14, -40, 47, 29, -27, 3, -26, -40,
+ -74, -22, 14, -29, -19, -21, -45, -24,
+ ],
+ [
+ -71, -52, -64, -2, 8, -67, -51, -68,
+ -67, 4, -48, -91, 58, -58, 6, 62,
+ 14, 16, 63, 42, -3, -9, -15, -68,
+ 51, -9, 20, 51, 62, 13, 9, 51,
+ 1, 48, 34, 50, 27, 19, 9, -24,
+ -7, 19, 22, 29, 33, 5, 5, -35,
+ 13, 4, 9, 26, 17, 22, -11, -19,
+ 7, 1, 14, 5, -20, -46, -2, -42,
+ ],
+ [
+ -90, -20, -62, -35, -75, -97, -44, -119,
+ 15, -13, -27, -58, -92, 40, -6, -5,
+ 25, 39, 52, 29, 21, 78, -5, 22,
+ -1, 9, 38, 48, 50, 45, 4, 47,
+ -43, 7, 20, 51, 12, 29, 35, 21,
+ -23, 14, 19, 26, 37, 10, 14, 4,
+ 92, 28, -16, 14, 23, 21, 44, -49,
+ -79, -20, -42, -41, 15, -44, 12, -1,
+ ],
+ [
+ -46, -94, -105, -129, -34, -37, -35, -42,
+ -27, -29, -42, -12, 20, -17, -85, -13,
+ -21, 21, 32, 7, 56, 58, 12, 75,
+ 9, -16, 19, 32, 57, 51, 40, 17,
+ 11, -18, 29, 32, 33, 27, 49, 13,
+ -43, -5, 1, 14, 32, 43, 37, -1,
+ 10, -4, -7, 6, 16, 80, 10, 8,
+ -23, -33, -41, 3, -2, 16, 18, -32,
+ ],
+ [
+ -94, -62, -26, 40, 134, -11, -76, -72,
+ -46, -52, -8, 54, -11, 17, -1, -63,
+ -44, -18, 30, 14, 39, 72, 42, 72,
+ -33, -10, 4, 38, 47, 55, 21, 34,
+ -27, -26, -3, 32, 20, 29, 9, 30,
+ -29, -17, 5, 20, 32, 9, 32, 26,
+ -45, -33, -38, -3, 2, 35, 35, -7,
+ -124, -37, -8, -33, -5, 7, 29, -4,
+ ],
+ [
+ -187, -46, -119, 42, 12, 45, 37, 11,
+ -11, -16, -23, 76, 52, 91, -46, 147,
+ -55, -35, 21, 15, 15, 29, 42, 38,
+ -42, 3, 24, 29, 30, 39, 41, 22,
+ -32, -4, -6, 13, 21, 15, 30, 10,
+ -51, -25, -7, 24, 32, 6, 18, 20,
+ -96, -51, -32, -13, 1, -6, -27, 23,
+ -77, -39, -32, -8, -36, 24, 6, 19,
+ ],
+ [
+ -12, 19, -15, 16, -9, -5, 7, -29,
+ 26, -9, 44, 18, 69, -33, 96, 25,
+ 26, 42, 36, 26, -40, -86, -20, -16,
+ 140, -11, 79, 64, 88, -26, 66, -18,
+ 25, -60, 63, -6, -14, -37, -65, 46,
+ -63, 31, 44, -9, -143, 5, -108, -13,
+ 104, 48, 38, -68, 3, -33, -38, -52,
+ 72, -36, -37, -8, 5, -85, -193, 30,
+ ],
+ [
+ 78, -2, 38, 0, -6, 22, -9, -31,
+ 13, 14, 53, -1, 16, -3, -20, 9,
+ 14, -19, 9, 9, 48, -23, 0, -23,
+ 29, -18, 86, 96, -46, -32, -6, 35,
+ -2, -15, 24, -2, 34, -26, 8, -39,
+ 49, 54, -28, -15, 47, -89, -6, -28,
+ -4, 7, -63, -121, -15, 7, -3, 30,
+ -21, 6, -27, -36, 5, -47, -12, -1,
+ ],
+ [
+ 3, 18, 6, 17, -6, -19, -14, 21,
+ -12, 28, -8, 12, 10, 5, 24, -41,
+ -54, 3, -41, 75, 86, -17, 70, -23,
+ 1, 37, 79, 73, 93, 34, 65, 8,
+ 28, -74, 37, 44, 124, -50, -11, -26,
+ -5, -41, -8, -60, -21, -40, -41, -6,
+ -33, -39, -29, -40, -104, 18, -10, 4,
+ -1, 15, -48, -10, 13, -19, -80, -19,
+ ],
+ [
+ 3, -18, 60, 15, -22, 17, -11, 9,
+ -8, 9, -54, 27, 57, 4, -1, -1,
+ -2, 16, 29, 75, 124, 74, 23, -2,
+ 31, 32, 39, 95, -27, -26, 3, -32,
+ 32, -18, -22, -1, 157, -3, -27, 16,
+ -22, -51, -47, 6, -69, -32, -75, -9,
+ -42, -23, -55, -46, -42, 5, -22, -10,
+ -2, -9, -67, -6, 28, -39, -24, -19,
+ ],
+ [
+ -31, -9, -10, 14, 3, 53, 1, 40,
+ 4, 0, 29, 41, 19, 4, -35, -32,
+ -14, -40, 16, -12, 86, 20, -42, -5,
+ -58, -5, -5, 58, 75, 10, 79, -19,
+ -6, 28, -6, 2, 87, 61, 47, -36,
+ 0, -55, -14, 1, -3, -36, 52, 14,
+ -37, -8, 0, -76, -21, 20, -14, -8,
+ -14, -102, -14, 23, -28, -53, -45, 5,
+ ],
+ [
+ -20, 9, -1, -16, 24, 21, 10, -11,
+ -29, -21, 41, 17, 50, 59, 7, -38,
+ 16, 15, -7, -30, 141, -7, 82, -26,
+ 12, -6, 13, 14, -64, 18, 58, 20,
+ -46, 6, 18, -3, 38, 64, 38, 49,
+ -60, -30, -61, 70, -5, -66, -105, 12,
+ -16, -5, -46, -54, 1, -33, 11, 8,
+ -3, -63, -27, -33, -15, -12, -23, 39,
+ ],
+ [
+ 7, -18, 32, 41, -20, 1, -3, 0,
+ -67, -22, 24, 62, 92, -17, 39, 35,
+ -28, 15, -21, -40, 65, 65, 87, 60,
+ -19, 62, 9, -70, 29, 25, -14, 41,
+ -11, -55, -15, -98, -21, 75, 51, 28,
+ -53, -3, -22, 45, -22, 5, -44, -22,
+ -3, 23, -14, -82, -23, -19, -4, -15,
+ 26, -45, -39, -57, -8, -39, -4, 17,
+ ],
+ [
+ -13, 4, 1, -25, 38, -13, -0, 36,
+ 20, -10, -20, 40, 31, -5, -35, 17,
+ -47, -12, -25, 42, 92, 82, 60, 29,
+ -68, -14, 44, 29, 43, -1, 86, 23,
+ -52, -23, -29, -55, 53, 64, 59, 62,
+ -48, 24, 6, -32, -36, -45, -24, -34,
+ -48, -30, -21, -85, 14, 32, -18, -8,
+ 3, -89, 4, -9, -5, -10, -35, -16,
],
];
internal static readonly short[][] EndGameKnightTable =
[
[
- -14, -47, 1, 37, 45, -12, -70, -39,
- 17, -81, 16, -1, -18, 34, -19, 36,
- 6, -8, -38, 32, -9, -20, -42, 24,
- -3, -22, -3, -6, 11, 12, 10, 26,
- 26, 7, 27, 19, 18, 14, -28, 24,
- -5, 8, 8, -5, 3, 12, 11, 44,
- 34, 4, -15, -9, -3, 29, -33, -22,
- -30, 43, 19, -35, 7, 16, -4, -41,
- ],
- [
- -72, -36, -48, 12, 57, 61, -20, -49,
- 46, -18, -29, -36, -51, -14, 21, -61,
- -13, -14, -54, -26, 13, -7, 17, -3,
- 19, 1, -2, 17, 24, 27, 13, 14,
- 17, -6, 19, 27, 22, 26, 32, 14,
- 36, -7, 2, 13, 28, -5, 5, 18,
- 55, -9, -8, 25, -3, -5, 16, 63,
- -30, -38, -11, 7, -2, -38, 0, -51,
- ],
- [
- -89, 18, 17, -37, -70, -37, -53, -87,
- -4, -4, -18, -54, -16, 15, -11, -29,
- -13, 1, -1, 16, 9, 29, 14, -8,
- 8, 4, 10, 10, 31, 14, 2, -5,
- 7, 9, 27, 21, 35, 20, 5, -11,
- 22, 17, -2, 23, 1, 18, -1, 37,
- 9, 14, 13, 22, 30, 6, 11, 6,
- -17, 6, -63, 3, 8, 16, 35, 13,
- ],
- [
- -12, 32, -34, -37, -6, -53, 1, -101,
- -0, 13, -9, -29, -33, 32, -6, -12,
- 9, 12, 15, -22, 19, 10, -14, 30,
- -6, 11, -6, -2, -7, 9, 2, -8,
- 16, -8, 3, -7, -1, -4, 25, -24,
- -2, 1, 5, 2, 21, -3, -23, 25,
- 36, 89, -16, 15, -3, 55, 16, 5,
- -43, 0, 5, -28, 10, -2, 11, 25,
- ],
- [
- -70, -26, -38, 42, -41, -71, 50, -125,
- 1, -5, 0, -1, -31, -7, 23, -52,
- 4, 4, -12, 12, -17, 9, -6, -10,
- 20, 17, 9, 39, 2, 12, -5, 5,
- 43, -8, 25, 13, 8, 26, 26, -7,
- 2, 17, 19, 12, 16, -4, 7, 20,
- 18, 0, 33, -2, 15, 5, 5, -16,
- -15, 5, 9, 28, -44, 36, 16, -42,
- ],
- [
- -64, 26, -26, 12, -33, 3, -14, -17,
- -5, -15, -7, -26, 6, -26, 4, -4,
- 24, 25, 18, 6, 18, 0, -13, 52,
- 6, 10, 22, 5, 4, -2, -6, 11,
- 14, 29, 10, -2, 5, -15, 5, -14,
- 14, 10, -6, 6, 19, -16, -4, -26,
- -15, 29, -11, 25, 2, 4, -4, 8,
- -59, 7, 15, 13, 16, -46, 6, -19,
- ],
- [
- -27, 25, 7, -1, -39, -18, -22, -85,
- -0, 15, 6, -5, -21, -21, -24, -17,
- 17, 0, 10, 7, -10, -10, -16, 4,
- 10, 21, 22, 34, 17, 10, 13, 4,
- 13, 9, 23, 14, 22, 10, 6, 9,
- 4, 6, 6, 16, 5, 2, -3, 16,
- 7, 3, 1, 6, 19, -3, 8, 19,
- -17, -6, -1, 8, 12, 14, -122, -9,
- ],
- [
- -1, 17, 37, 20, 23, -89, -8, -25,
- -17, 6, -21, 8, -46, -23, -15, -0,
- 26, -10, 16, -7, 2, -39, 4, -45,
- 5, 9, 10, 28, 14, 16, 22, 3,
- 5, -8, 0, 15, 22, 1, -4, 18,
- -3, -12, 9, 8, 25, 19, 12, -4,
- -2, -13, -9, 32, 11, 32, -24, 11,
- -43, -7, -14, 0, 3, 10, 21, -27,
- ],
- [
- -68, 27, -32, 3, 4, 42, 6, -39,
- 17, 36, -33, 8, 15, -28, -6, -25,
- 34, -25, -31, -14, 10, -17, -46, -17,
- -0, 7, 19, 6, -2, 12, -7, -11,
- 21, -12, 31, 12, 24, 5, 0, 7,
- 8, -15, -7, 9, 1, -13, -1, -25,
- 4, 15, -7, 14, -3, 10, 27, 37,
- 35, 20, 21, -15, 3, -31, -10, -8,
- ],
- [
- -44, -14, -5, -22, 31, 27, 6, -11,
- -22, 3, 11, -14, 5, -30, 39, 10,
- -10, 7, 7, -10, 14, 5, -29, -31,
- 16, 1, 3, 9, 7, 1, 13, -16,
- 6, 10, 12, 12, 10, 8, 1, 1,
- -13, -1, -7, 11, 10, -5, -11, -17,
- -9, 3, -8, -7, 15, -18, -0, 7,
- -8, 7, 2, 20, -2, -11, 30, -7,
- ],
- [
- -9, -10, 18, -12, -6, 9, 5, 2,
- -0, 1, 8, 25, -18, 14, 15, -3,
- -3, -0, 5, 0, 10, -1, 2, -6,
- -5, 12, 8, 3, 2, 9, -3, -10,
- -3, 3, 7, -3, -0, 3, -1, 5,
- -17, -3, -12, 1, -2, -9, -15, 16,
- -13, -5, -4, 3, -5, -5, -4, -27,
- 3, -11, -10, -3, 12, 7, 17, 14,
- ],
- [
- -44, -4, 24, 34, 25, 14, -24, -28,
- 19, -6, 13, 22, 11, 7, 17, -17,
- -13, -4, -4, -3, 3, -8, -10, -8,
- 12, 2, -2, 1, 0, -5, 5, -6,
- 18, -2, 10, 4, 7, 1, -2, 3,
- -7, -14, -10, -6, -5, -11, 8, -6,
- -57, -6, -3, -3, -2, 5, -24, -9,
- -6, -9, 19, 29, 5, 19, 8, 22,
- ],
- [
- -23, -14, 23, 31, -1, 34, -45, 1,
- -7, 11, 17, 23, 1, 11, 23, -5,
- 7, -10, 2, 3, -4, -12, -3, -20,
- -4, 12, 6, 9, 4, 0, 1, 6,
- -6, 8, 2, 7, 5, 3, -4, -6,
- 1, -2, -5, 9, -4, -16, -6, 5,
- -26, -14, -11, 2, -6, -7, 0, -13,
- -7, -15, -9, 6, -4, 6, -12, 42,
- ],
- [
- -13, 22, 8, -6, -44, 9, -4, -27,
- 15, 18, -1, -6, 6, -17, 3, 1,
- -4, 2, 1, 8, 2, -23, -13, -18,
- 9, 5, 3, 4, 11, -1, 10, 1,
- -1, 12, 12, 2, 14, 8, 13, 8,
- -24, -4, -7, 6, -2, -5, -3, -6,
- -6, -15, 11, -5, -1, -23, 34, 8,
- 41, -24, -6, 9, 5, 3, -8, -4,
- ],
- [
- 24, 19, 4, 1, -11, 4, 12, -81,
- -26, -8, 6, -26, 11, -28, 4, -43,
- 5, 3, -2, 15, 18, 10, 1, -17,
- -4, 5, 13, 14, 19, 24, 22, 22,
- -14, -6, 18, 15, 18, 34, 10, 15,
- -5, -14, 1, -6, -3, 2, -17, 9,
- 22, 11, -6, -10, -5, -13, 12, -9,
- 12, -42, -3, -16, 6, 3, 5, -38,
- ],
- [
- -42, -28, 29, -14, -31, -23, 12, 15,
- -24, 17, 18, -4, -1, 34, -39, -11,
- 1, -4, 20, -13, 21, 23, -7, -1,
- -14, 27, 5, -1, -0, 23, -44, 1,
- 26, 20, 5, 29, 16, 11, 11, 4,
- -21, -11, 3, 23, 19, -3, -3, -15,
- 25, 9, -16, 38, -18, 8, -34, -71,
- -6, 19, -25, -9, -11, 6, 43, -19,
- ],
- [
- 77, 3, 19, -14, 61, -63, 0, -59,
- 19, 5, -17, -35, -0, -14, 31, -33,
- 2, 42, -22, -13, -8, 13, -11, -23,
- 0, 8, -9, 25, 12, 18, 16, 1,
- 13, 0, 16, -4, 37, 3, -20, -26,
- 0, -47, 17, 6, -3, 16, 9, -11,
- -26, -13, -8, 13, 1, -13, 17, 10,
- -20, 2, -5, 10, 17, 8, 6, -38,
- ],
- [
- -23, -7, 52, -42, 7, -48, -70, -15,
- 19, 6, 26, 12, 7, 17, 31, -21,
- -7, 9, -3, -2, -8, 1, -2, -17,
- -21, 13, -31, -0, -3, 19, 3, -28,
- -2, 8, 8, 28, 26, 18, 21, -29,
- -14, 23, 4, 11, 26, 22, 2, -13,
- -19, -21, -11, 14, 15, -23, 12, -1,
- 57, 66, 28, 23, -29, -49, -24, -54,
- ],
- [
- 23, -38, 20, 31, 14, 24, -19, 34,
- -28, 13, 19, 3, 23, -21, -20, 32,
- -18, 25, -3, -1, -13, -3, -20, 23,
- 1, 9, 6, -28, 16, 15, -15, 1,
- -17, -16, 5, -6, 1, -3, 19, -1,
- -40, -5, 13, -3, 14, 13, 16, -31,
- -18, -16, 6, -5, -2, 16, -31, 26,
- -88, 22, 9, 5, 25, 13, -5, -21,
- ],
- [
- -48, 25, 29, 8, -3, 44, -3, 32,
- 13, 3, -20, 7, 7, 20, -54, 33,
- 20, 0, -18, 26, 19, 18, 23, -23,
- -22, -30, 6, 2, -16, 7, 3, 8,
- -9, 12, 12, 26, 2, 15, 1, -8,
- -27, -24, -4, 17, 11, 30, -22, -7,
- -37, 32, -20, -13, 19, 3, -41, -14,
- 18, -34, -37, 2, -8, -18, 19, -12,
- ],
- [
- -87, 7, 9, 11, 69, 26, 3, 58,
- -26, -14, -9, -22, -42, -4, 26, -19,
- -57, -28, -34, 22, -28, -5, 19, 46,
- 25, 13, -0, 14, 23, -47, -2, 6,
- -12, 6, -1, 4, -7, -26, 12, 39,
- -14, -22, -5, -28, -0, 19, 19, 36,
- -30, -9, -3, 29, 10, -65, -19, 26,
- 5, -15, -0, 20, 33, 4, -6, 48,
- ],
- [
- 39, -42, 14, -15, -2, -52, 37, -11,
- -42, -24, 24, -41, -60, 3, -8, 37,
- -13, -24, 35, 14, -10, 2, 6, -1,
- -25, -18, 4, 39, 38, 4, -54, 50,
- -22, 5, 21, 27, 28, 2, -24, 24,
- -11, -10, -0, 7, 11, -15, -32, -10,
- -23, -12, 4, 24, 5, -6, 20, -7,
- 50, -66, -17, 13, 19, 1, -8, 99,
- ],
- [
- -12, -53, -66, -22, 30, -16, -67, 64,
- -58, 4, 1, 24, 33, 1, 3, 30,
- -1, 3, 17, 11, -13, 3, 13, 45,
- 10, -5, -8, 12, 8, 35, 38, 32,
- 11, -9, -11, 53, 32, 50, -14, 2,
- -43, -11, -23, 22, -4, 45, 37, -10,
- -5, -24, 16, -39, -1, -29, -43, 26,
- 7, 32, 17, 21, -43, -57, -51, -53,
+ -16, -49, -0, 37, 46, -10, -72, -39,
+ 15, -81, 15, 1, -18, 34, -18, 35,
+ 7, -8, -39, 32, -8, -19, -41, 22,
+ -4, -22, -2, -4, 12, 13, 11, 26,
+ 26, 9, 28, 21, 18, 15, -27, 24,
+ -4, 8, 9, -4, 4, 12, 11, 44,
+ 32, 4, -15, -10, -3, 28, -34, -23,
+ -31, 42, 18, -36, 5, 18, -4, -41,
+ ],
+ [
+ -72, -33, -46, 13, 56, 61, -23, -49,
+ 47, -16, -29, -36, -51, -13, 22, -59,
+ -12, -14, -53, -26, 14, -8, 16, -5,
+ 20, -0, -2, 15, 23, 26, 12, 14,
+ 16, -7, 18, 27, 21, 25, 31, 13,
+ 33, -10, -2, 11, 28, -7, 2, 17,
+ 56, -8, -6, 26, -1, -2, 16, 63,
+ -29, -37, -9, 8, -1, -36, 1, -48,
+ ],
+ [
+ -88, 18, 18, -36, -72, -37, -51, -87,
+ -3, -5, -18, -55, -15, 16, -10, -29,
+ -14, 2, -1, 16, 9, 30, 15, -9,
+ 8, 5, 11, 11, 32, 16, 3, -6,
+ 7, 9, 28, 21, 36, 21, 4, -11,
+ 22, 19, -0, 24, 2, 20, 0, 37,
+ 7, 12, 12, 20, 29, 6, 10, 4,
+ -19, 4, -65, 3, 6, 14, 34, 11,
+ ],
+ [
+ -15, 29, -36, -39, -7, -55, -3, -102,
+ -1, 12, -11, -29, -32, 30, -8, -14,
+ 8, 13, 16, -21, 18, 9, -14, 31,
+ -6, 14, -4, 2, -4, 14, 5, -8,
+ 16, -6, 6, -4, 1, 1, 27, -24,
+ -0, 5, 11, 5, 25, 3, -17, 28,
+ 32, 86, -19, 13, -6, 51, 14, 2,
+ -41, -2, 2, -31, 6, -5, 8, 25,
+ ],
+ [
+ -68, -23, -39, 40, -38, -71, 52, -123,
+ 3, -3, 1, -1, -29, -6, 25, -50,
+ 5, 5, -11, 12, -17, 9, -7, -7,
+ 20, 17, 7, 39, 2, 12, -6, 6,
+ 42, -9, 25, 11, 8, 25, 25, -8,
+ -1, 16, 17, 10, 14, -7, 4, 18,
+ 18, 1, 34, -1, 16, 5, 5, -16,
+ -17, 5, 11, 28, -44, 36, 16, -40,
+ ],
+ [
+ -62, 24, -26, 11, -33, 4, -15, -16,
+ -5, -15, -8, -25, 6, -26, 3, -3,
+ 23, 26, 18, 6, 19, -1, -13, 52,
+ 6, 11, 23, 6, 5, -1, -5, 11,
+ 14, 30, 10, -1, 6, -15, 6, -14,
+ 14, 11, -5, 6, 20, -15, -3, -26,
+ -15, 29, -11, 25, 2, 3, -5, 8,
+ -60, 7, 15, 12, 14, -47, 5, -19,
+ ],
+ [
+ -27, 25, 7, -1, -38, -17, -22, -85,
+ 0, 15, 7, -4, -20, -20, -23, -16,
+ 17, 1, 11, 7, -10, -10, -16, 6,
+ 10, 21, 22, 34, 17, 11, 14, 4,
+ 14, 8, 23, 13, 22, 8, 5, 8,
+ 2, 5, 5, 15, 3, 0, -5, 14,
+ 8, 3, 2, 6, 19, -4, 7, 18,
+ -17, -6, -1, 9, 12, 15, -124, -9,
+ ],
+ [
+ 1, 20, 35, 22, 24, -87, -10, -23,
+ -15, 8, -20, 8, -45, -21, -15, 1,
+ 27, -9, 17, -7, 1, -39, 5, -44,
+ 6, 8, 10, 27, 13, 16, 21, 4,
+ 4, -10, -1, 15, 21, -1, -7, 16,
+ -5, -15, 6, 8, 24, 15, 8, -7,
+ 1, -11, -8, 32, 12, 33, -24, 11,
+ -43, -6, -14, 1, 4, 11, 23, -28,
+ ],
+ [
+ -68, 26, -29, 4, 4, 42, 8, -37,
+ 17, 37, -33, 9, 15, -27, -5, -23,
+ 34, -26, -33, -16, 9, -18, -45, -16,
+ -0, 5, 17, 3, -4, 10, -9, -11,
+ 22, -14, 30, 10, 22, 3, 0, 7,
+ 9, -17, -6, 8, 2, -15, -3, -26,
+ 4, 16, -6, 15, -2, 12, 28, 39,
+ 36, 21, 21, -14, 3, -32, -10, -8,
+ ],
+ [
+ -44, -15, -4, -21, 31, 28, 7, -11,
+ -22, 3, 11, -15, 5, -30, 38, 11,
+ -10, 7, 7, -10, 15, 6, -29, -31,
+ 15, 1, 4, 9, 8, 2, 14, -15,
+ 5, 10, 13, 12, 11, 10, 2, -0,
+ -13, -1, -6, 11, 10, -4, -10, -16,
+ -10, 2, -9, -8, 15, -18, -1, 5,
+ -7, 6, 2, 19, -4, -11, 29, -8,
+ ],
+ [
+ -9, -11, 15, -14, -7, 8, 5, -0,
+ -1, -1, 7, 24, -19, 13, 14, -4,
+ -4, 1, 6, 3, 12, 2, 3, -7,
+ -5, 14, 11, 6, 6, 12, 0, -10,
+ -3, 3, 9, 0, 1, 7, 1, 5,
+ -16, -1, -10, 1, -1, -5, -12, 17,
+ -15, -7, -6, 2, -7, -7, -6, -28,
+ 3, -14, -12, -4, 10, 5, 15, 7,
+ ],
+ [
+ -45, -5, 24, 33, 24, 13, -26, -28,
+ 17, -6, 12, 21, 9, 6, 16, -17,
+ -14, -3, -3, -2, 4, -7, -9, -8,
+ 12, 3, -0, 3, 3, -3, 8, -6,
+ 18, -2, 11, 5, 8, 3, -0, 4,
+ -7, -13, -8, -6, -4, -9, 10, -5,
+ -57, -7, -4, -4, -4, 4, -25, -10,
+ -7, -10, 18, 27, 3, 18, 6, 19,
+ ],
+ [
+ -25, -16, 22, 30, -2, 33, -45, 0,
+ -8, 11, 17, 22, 0, 11, 23, -6,
+ 6, -10, 3, 4, -4, -11, -3, -21,
+ -4, 13, 8, 11, 6, 2, 3, 5,
+ -5, 9, 3, 9, 6, 5, -2, -6,
+ 2, -0, -3, 9, -4, -14, -5, 5,
+ -27, -15, -12, 1, -7, -8, -1, -14,
+ -8, -17, -10, 5, -4, 4, -14, 40,
+ ],
+ [
+ -13, 22, 7, -7, -45, 9, -5, -28,
+ 14, 17, -1, -6, 6, -17, 2, 1,
+ -5, 2, 2, 8, 2, -23, -13, -18,
+ 9, 6, 3, 5, 12, -0, 10, 1,
+ -0, 13, 13, 2, 14, 8, 13, 8,
+ -23, -3, -6, 6, -1, -6, -3, -6,
+ -6, -16, 11, -5, -2, -23, 33, 8,
+ 40, -24, -7, 9, 4, 3, -9, -4,
+ ],
+ [
+ 23, 19, 4, 1, -11, 5, 14, -79,
+ -25, -8, 6, -24, 11, -28, 3, -43,
+ 4, 3, -2, 14, 17, 10, 1, -17,
+ -4, 4, 13, 13, 17, 23, 21, 21,
+ -14, -6, 17, 15, 18, 32, 9, 13,
+ -6, -14, 0, -6, -3, 1, -17, 9,
+ 23, 12, -5, -9, -4, -12, 13, -10,
+ 13, -41, -2, -16, 7, 4, 7, -36,
+ ],
+ [
+ -44, -29, 30, -15, -30, -23, 12, 14,
+ -24, 17, 18, -4, 1, 36, -38, -11,
+ -0, -4, 19, -12, 21, 23, -5, -2,
+ -16, 26, 4, -1, -1, 23, -45, 0,
+ 26, 19, 6, 29, 18, 10, 12, 5,
+ -19, -11, 3, 23, 20, -1, -2, -15,
+ 26, 8, -16, 37, -19, 8, -35, -72,
+ -7, 19, -25, -11, -10, 6, 43, -16,
+ ],
+ [
+ 79, 4, 20, -12, 62, -61, -1, -60,
+ 12, 4, -16, -37, -2, -14, 31, -31,
+ 3, 42, -20, -13, -9, 12, -13, -23,
+ 1, 6, -10, 26, 10, 16, 14, -0,
+ 14, 1, 16, -5, 36, 1, -19, -26,
+ 3, -48, 17, 8, -4, 17, 7, -12,
+ -26, -9, -8, 14, 0, -13, 15, 10,
+ -17, 2, -3, 8, 19, 11, 8, -34,
+ ],
+ [
+ -20, -6, 51, -40, 5, -50, -71, -15,
+ 19, 6, 25, 13, 6, 16, 30, -21,
+ -6, 9, -5, -2, -7, 1, -4, -16,
+ -21, 14, -31, -1, -5, 16, 0, -27,
+ -0, 7, 10, 27, 24, 16, 19, -30,
+ -11, 24, 5, 10, 25, 22, -1, -14,
+ -19, -20, -11, 15, 15, -22, 14, 5,
+ 55, 69, 28, 20, -24, -47, -22, -54,
+ ],
+ [
+ 23, -37, 19, 28, 16, 23, -19, 30,
+ -27, 13, 20, 4, 23, -22, -20, 27,
+ -17, 24, -1, 1, -10, -3, -19, 23,
+ 1, 9, 6, -27, 17, 12, -17, 1,
+ -21, -15, 5, -3, 1, -3, 20, -1,
+ -40, -5, 12, -1, 15, 12, 14, -32,
+ -17, -16, 7, -5, -4, 14, -30, 28,
+ -82, 21, 8, 4, 24, 13, -3, -21,
+ ],
+ [
+ -47, 25, 27, 8, -3, 44, -4, 32,
+ 11, 3, -19, 9, 7, 20, -53, 31,
+ 18, 1, -19, 26, 19, 19, 23, -24,
+ -20, -29, 6, 3, -16, 7, 2, 7,
+ -5, 12, 12, 27, 3, 16, 1, -8,
+ -25, -27, -3, 17, 11, 30, -23, -6,
+ -39, 30, -19, -10, 17, -0, -41, -12,
+ 19, -33, -36, 2, -6, -19, 20, -14,
+ ],
+ [
+ -85, 8, 13, 13, 69, 27, 6, 62,
+ -27, -14, -7, -22, -41, -6, 26, -17,
+ -58, -28, -35, 20, -27, -7, 17, 44,
+ 26, 8, -4, 9, 20, -49, -4, 8,
+ -13, 5, -4, 2, -8, -27, 9, 37,
+ -14, -21, -5, -27, -4, 20, 18, 35,
+ -28, -8, -1, 29, 12, -64, -16, 27,
+ 4, -14, 1, 20, 36, 3, -2, 52,
+ ],
+ [
+ 41, -41, 18, -15, 2, -51, 38, -11,
+ -38, -23, 26, -41, -60, 3, -10, 39,
+ -11, -26, 33, 9, -13, 1, 6, -0,
+ -27, -22, -4, 36, 31, 1, -57, 50,
+ -24, 3, 16, 23, 25, -2, -24, 20,
+ -6, -10, -2, 8, 11, -14, -31, -9,
+ -20, -11, 7, 27, 6, -5, 25, -5,
+ 51, -61, -12, 15, 20, 3, -8, 103,
+ ],
+ [
+ -12, -54, -63, -21, 31, -17, -68, 63,
+ -57, 3, 0, 24, 33, 2, 2, 24,
+ -1, 3, 18, 9, -15, 1, 12, 44,
+ 10, -5, -9, 12, 7, 33, 38, 34,
+ 8, -8, -15, 51, 31, 49, -14, 2,
+ -44, -9, -22, 23, -4, 45, 39, -8,
+ -3, -22, 18, -37, -1, -26, -40, 26,
+ 8, 31, 18, 22, -42, -55, -50, -52,
],
];
internal static readonly short[][] MiddleGameBishopTable =
[
[
- 57, -35, -20, -104, 43, -26, -50, -9,
- -15, -60, 35, 24, -51, 14, 21, -50,
- 7, 1, 25, 69, 14, -34, -16, -0,
- 3, 12, -25, -3, 47, 13, -8, -48,
- 12, 26, -4, 40, -6, -21, 5, -24,
- 75, -5, 2, 14, -15, -44, -10, -8,
- 14, 61, 4, 14, -26, -2, -17, -9,
- 71, 10, 21, 22, -13, -21, 15, -10,
- ],
- [
- -13, -150, -59, -2, -12, -53, -162, -18,
- -14, -19, 12, -14, -2, 25, -17, -19,
- 22, -8, 53, -16, 31, 11, -8, -7,
- 33, 8, -18, 13, 17, 12, 12, -9,
- 10, 19, 12, 5, 1, 2, 10, 12,
- 48, 24, 18, 9, 11, -8, -7, 6,
- 25, 59, 31, 18, 7, 11, -3, -27,
- 18, -21, 28, 25, 2, 17, -1, 10,
- ],
- [
- 66, -4, 13, -1, -92, -99, 77, -88,
- -33, -26, 15, 11, 16, 4, -15, -40,
- -10, -17, -0, 22, -6, 6, 14, 9,
- 33, 7, -10, -6, 20, -15, 12, -13,
- 23, 19, -2, 10, -17, 2, -7, 12,
- 11, 20, 16, 2, 5, -10, -0, -6,
- 9, 58, 21, 9, -3, 8, -16, -6,
- 9, -1, -23, -4, 4, 9, -10, 7,
- ],
- [
- -50, -6, 26, -51, 44, -80, 71, -33,
- -3, -20, 12, -67, 66, -34, -28, 3,
- 23, 5, -33, 54, -76, -42, -20, 6,
- -12, 1, 3, -19, 40, 22, 24, 24,
- 4, -18, 6, -0, 7, 14, 2, 18,
- 18, -23, 6, 8, 18, 7, -14, -12,
- 16, 35, 9, 30, -1, -10, 11, -82,
- 34, 8, 9, 14, 3, 34, -25, 21,
- ],
- [
- -47, -32, -75, -81, -145, -83, -70, 15,
- -17, 26, 18, -62, -37, -18, -14, -7,
- 5, 0, -25, 0, -21, 28, 16, 14,
- 8, 7, -5, 3, 2, -10, 18, -11,
- 19, -16, 12, 6, 12, 10, -2, 39,
- 16, 2, 14, 14, 18, 18, 21, 12,
- 15, 33, 19, 18, 27, 41, 42, 20,
- 47, 28, 15, 25, -10, 25, 13, 47,
- ],
- [
- -30, 67, -75, -84, -120, -36, -20, -36,
- -30, 21, -30, -3, 23, -16, -11, -5,
- -19, -25, 15, 43, 16, 24, 38, 29,
- 20, 1, -34, 6, 23, 12, 16, -6,
- -0, -45, 8, -4, 35, 8, -7, 7,
- -19, 5, -3, 19, 10, 34, 23, 21,
- -22, 8, 19, 0, 19, 13, 43, 18,
- -13, 15, 0, 2, 34, -6, 7, -3,
- ],
- [
- -21, -15, 5, -67, -42, -11, -57, 14,
- -16, -1, 21, -0, 10, -6, -23, -31,
- 13, 9, 7, 4, -1, 32, 4, 6,
- 3, -4, -4, 5, 8, -4, 13, -15,
- -7, -5, -11, -6, -7, 2, -9, 27,
- 7, -14, -5, -5, 1, -1, 22, 28,
- -6, 10, 4, 1, 7, 24, 41, 25,
- -0, 6, 8, -5, 2, 50, -40, 17,
- ],
- [
- -32, -72, -108, -82, -41, 66, -23, -33,
- 2, 21, 29, -5, 32, -20, -1, -14,
- 2, 15, -3, -6, 1, 67, 32, 31,
- -11, -13, -6, 9, 21, 1, 20, -6,
- -6, -0, -3, -1, 12, 15, -7, 13,
- -5, -23, -3, -3, -2, 5, 21, 24,
- -14, -0, -6, -4, -3, 10, 30, 40,
- -10, -1, -2, -23, 25, 36, 45, -35,
- ],
- [
- 22, 46, -60, -95, -148, -47, -5, -120,
- 32, -2, 1, -39, -53, -40, -9, 37,
- -10, 105, 69, 6, 76, 15, -87, -5,
- -6, -7, 46, 3, 34, 21, 12, -31,
- 24, 72, 19, 34, 7, 32, 11, 14,
- 37, 49, 46, 27, 17, -4, -34, -34,
- -26, 62, 47, 14, 11, 25, -26, -105,
- -56, -7, 13, -29, -10, 12, -4, 1,
- ],
- [
- -166, -38, -29, -92, -0, -88, -7, -18,
- -14, 31, -29, -0, -53, -10, 18, 26,
- 46, 33, 44, 24, 34, 50, -31, 28,
- -6, 27, 20, 16, 33, -36, 44, 10,
- -2, 15, 11, 1, -2, 4, -9, -44,
- 3, -28, 50, 15, 26, 11, -16, -17,
- 14, 7, -5, 20, 19, 12, -4, 32,
- 0, 21, 15, -41, -16, 11, 7, 24,
- ],
- [
- 8, -21, -10, -65, 25, -22, -24, -116,
- 46, 5, -15, 6, 58, -44, -10, 11,
- -5, 41, 19, -25, 21, 31, -27, 28,
- 21, -18, 21, 20, 57, -8, 41, 13,
- -41, 22, 11, 2, 12, 18, 2, -34,
- -31, -1, 12, 28, 39, -5, 23, -29,
- -18, -5, 15, 9, 23, 19, 2, 26,
- -47, -21, -24, -11, -41, 18, -37, 4,
- ],
- [
- -127, -37, -4, -37, -57, -20, -16, -5,
- 14, 9, 43, -13, -29, 14, -13, 12,
- 49, 3, 16, 15, 28, 24, -1, -3,
- -8, -1, 25, 41, 20, -1, -17, -25,
- -15, -21, 16, 26, 19, -9, -8, -14,
- -11, 16, 12, 19, 28, 25, 5, -14,
- 2, 10, 30, -4, 55, -4, 2, 27,
- 0, -7, -4, -58, 37, -11, -26, -24,
- ],
- [
- -2, -95, -37, -42, -105, -7, -62, 67,
- 21, -10, -4, 7, 31, -2, -27, 22,
- 14, 5, 13, 6, 21, 17, 6, -17,
- -4, 10, 26, 16, 35, 19, 31, 15,
- -1, -18, 6, 25, 24, 12, -24, 10,
- -37, -8, 31, 5, 26, 19, 17, 4,
- 12, -2, 21, 5, 3, -30, 12, 3,
- -23, 7, 6, -9, -2, 1, -32, -28,
- ],
- [
- 18, -99, -39, 40, -21, -83, -11, -34,
- -54, 27, -25, -15, 11, 37, -19, -14,
- -41, 2, 32, 11, 21, 48, 45, 8,
- 2, -4, -6, 50, 15, 37, 9, 19,
- 0, -26, 2, 4, 42, 1, 13, -8,
- -0, 0, -17, 17, 2, 27, 43, 10,
- -11, -10, -0, -3, 6, 16, 23, 3,
- -34, -5, -3, 20, -27, 11, 5, -70,
- ],
- [
- -49, 39, -46, -80, -7, 81, -2, -47,
- -3, 9, 24, -56, 1, 1, -60, 2,
- -20, -19, 6, -6, 24, 54, 22, 29,
- -27, -7, -19, 17, 47, 42, 24, 7,
- -21, -33, -8, 11, 14, 4, 7, 2,
- -2, -15, -4, -5, 10, -8, 24, 21,
- -41, -7, -14, 3, -0, 23, 41, -18,
- -14, 2, 6, -4, 8, 22, 4, 11,
- ],
- [
- 16, 58, 51, 70, 38, -18, 54, 41,
- -49, -68, -21, 15, 2, 66, 35, -15,
- -46, 99, 16, 37, 16, -26, -65, -71,
- 42, -15, 59, 77, -30, 62, -108, -12,
- -12, 1, -9, 27, 6, -50, -34, 30,
- 4, 79, -14, -18, 30, -9, -96, -7,
- 18, -62, -32, 20, -9, 47, -85, 51,
- -78, -10, -71, 24, 49, -126, 93, -68,
- ],
- [
- -4, 5, 12, 47, -12, -23, 23, 15,
- 4, 51, -58, -3, 12, 12, 9, -30,
- -18, -15, -5, 23, 43, -48, -28, -64,
- -41, -33, 32, 117, 41, 57, -3, 11,
- -47, 36, 13, -9, 67, 100, -24, 78,
- 11, 91, -10, 1, 10, -5, -32, -25,
- 46, 29, 10, -74, -43, -17, 15, 0,
- -42, -3, -140, -49, -21, -135, 32, 5,
- ],
- [
- -17, 38, 6, 27, 25, -44, 1, 2,
- -25, 14, -39, 27, 79, 8, 13, -83,
- -21, 88, -65, 44, 61, 16, 43, 41,
- -39, -3, 56, -10, 38, 50, -34, 36,
- 9, -20, 114, -3, 130, -28, 23, 29,
- -19, 1, 20, 3, -75, -35, 18, 49,
- 6, -133, 24, -44, -31, -52, -90, 14,
- 12, 10, -108, -61, -42, -58, -7, 14,
- ],
- [
- -12, 9, 21, 19, 13, -37, -15, -24,
- -25, 1, 55, -56, 0, 90, 14, -10,
- -15, 14, 13, -72, 100, 91, 48, -0,
- 36, 65, -29, 24, 2, -11, 62, 19,
- 3, 17, 33, 98, -1, 7, -44, -57,
- -42, -10, 133, 91, 5, 48, 5, -10,
- -72, -61, -16, -23, -64, -54, -77, -5,
- -13, 0, -9, -13, -14, -152, -46, -48,
- ],
- [
- -16, 48, -7, 23, -15, 12, 24, -1,
- -4, 4, 11, 64, -4, -23, 21, -17,
- -46, -42, 48, 98, -5, -5, 44, 34,
- -17, -12, 149, 43, 15, -51, -7, -39,
- 49, 26, 9, 67, 91, -36, 60, -18,
- -51, -21, -28, 89, 27, -5, -23, -18,
- -25, -111, -21, -47, -17, -84, -57, -23,
- -18, -35, -67, -5, -48, 49, -11, -26,
- ],
- [
- -10, 32, -8, -5, -64, 65, -2, -7,
- -49, -27, -58, -44, -23, -37, 10, 13,
- -53, 68, 41, 85, -23, -79, 14, -24,
- 26, 59, 59, 45, 25, 52, -7, 19,
- -54, -48, 74, 50, -1, 96, 48, -8,
- -5, 46, -19, 8, 11, 52, 33, -25,
- -31, 16, 11, 21, -1, -44, -45, -27,
- 26, -46, -72, -68, -80, -25, 13, 1,
- ],
- [
- 1, -27, 2, 30, 12, 10, -1, -9,
- -56, 34, -20, 18, 3, -2, -0, -25,
- -19, 41, -6, 16, 2, 32, 35, 9,
- -34, 42, 93, 56, 42, 111, -36, 54,
- -52, 7, -28, 41, -26, 14, -32, 25,
- -2, 60, -41, -21, -8, 21, -32, 31,
- -19, -157, -3, 35, 93, -59, -82, -42,
- -18, 35, -74, 27, 5, -100, -29, 28,
- ],
- [
- -5, 4, 33, -23, 39, 6, 29, -24,
- -0, -67, 28, 15, -18, 42, 18, -19,
- -11, -65, 11, 23, -14, 62, 34, -45,
- -23, -11, 51, -5, 63, 32, 28, 24,
- -22, -46, 25, -0, 63, 43, 35, -62,
- 35, 18, -68, 13, -2, 32, -47, 24,
- 15, -34, -63, -44, 9, 30, -57, 61,
- -38, -9, -68, -2, 10, -45, -18, -2,
+ 57, -37, -19, -105, 41, -27, -50, -10,
+ -16, -63, 32, 21, -53, 14, 17, -51,
+ 5, 5, 26, 71, 16, -33, -13, -1,
+ 1, 15, -21, 2, 52, 16, -5, -50,
+ 12, 29, -1, 45, -2, -17, 7, -25,
+ 73, -1, 6, 14, -12, -42, -7, -11,
+ 11, 59, 1, 11, -28, -5, -21, -11,
+ 69, 9, 18, 21, -15, -24, 14, -13,
+ ],
+ [
+ -13, -152, -61, -3, -15, -56, -162, -20,
+ -16, -20, 10, -14, -3, 24, -18, -22,
+ 20, -6, 54, -14, 32, 11, -6, -9,
+ 32, 12, -15, 17, 21, 16, 16, -10,
+ 10, 22, 15, 10, 5, 5, 12, 11,
+ 47, 30, 22, 11, 13, -6, -3, 4,
+ 23, 57, 30, 16, 5, 9, -6, -28,
+ 16, -23, 26, 24, 0, 14, -3, 7,
+ ],
+ [
+ 65, -3, 11, -3, -95, -100, 73, -88,
+ -35, -27, 15, 9, 16, 3, -15, -42,
+ -11, -16, 1, 24, -5, 8, 14, 9,
+ 33, 9, -8, -1, 24, -12, 14, -15,
+ 22, 21, 0, 14, -14, 5, -5, 11,
+ 9, 25, 18, 2, 8, -8, 2, -8,
+ 8, 57, 20, 8, -5, 6, -19, -6,
+ 8, -2, -25, -5, 2, 7, -10, 4,
+ ],
+ [
+ -52, -6, 23, -54, 44, -81, 70, -32,
+ -3, -22, 13, -69, 66, -36, -30, 2,
+ 20, 7, -32, 57, -78, -42, -17, 5,
+ -12, 4, 4, -15, 44, 24, 28, 23,
+ 5, -16, 10, 5, 10, 17, 2, 19,
+ 16, -19, 7, 8, 20, 8, -12, -14,
+ 16, 34, 9, 28, -3, -12, 7, -84,
+ 33, 6, 7, 12, 1, 32, -27, 19,
+ ],
+ [
+ -49, -32, -76, -83, -147, -84, -72, 13,
+ -19, 25, 17, -63, -36, -19, -15, -9,
+ 4, 2, -23, 2, -20, 29, 17, 14,
+ 8, 9, -2, 7, 6, -8, 20, -12,
+ 19, -13, 15, 11, 15, 14, 0, 38,
+ 13, 6, 15, 13, 21, 20, 24, 11,
+ 13, 32, 17, 17, 25, 39, 39, 19,
+ 45, 26, 13, 24, -12, 23, 12, 46,
+ ],
+ [
+ -31, 69, -73, -83, -122, -38, -23, -34,
+ -30, 22, -31, -0, 23, -16, -10, -7,
+ -18, -25, 16, 42, 17, 25, 38, 29,
+ 20, 2, -33, 9, 24, 15, 18, -6,
+ -1, -44, 9, -1, 38, 10, -7, 5,
+ -21, 5, -4, 18, 9, 34, 20, 21,
+ -21, 7, 18, -1, 18, 13, 40, 18,
+ -14, 15, -2, 2, 32, -7, 6, -2,
+ ],
+ [
+ -23, -17, 3, -69, -43, -13, -59, 12,
+ -18, -1, 19, -1, 10, -7, -24, -33,
+ 11, 11, 8, 7, 1, 34, 4, 4,
+ 1, -1, -0, 10, 12, -0, 15, -17,
+ -8, -2, -8, -0, -3, 6, -7, 26,
+ 5, -8, -3, -4, 5, 3, 27, 27,
+ -9, 8, 3, -1, 5, 22, 37, 23,
+ -2, 4, 5, -7, -0, 48, -42, 15,
+ ],
+ [
+ -34, -74, -110, -87, -42, 65, -24, -34,
+ -0, 21, 28, -6, 32, -21, -2, -15,
+ 1, 16, -2, -4, 2, 68, 32, 31,
+ -12, -10, -3, 12, 23, 5, 23, -7,
+ -7, 2, -1, 4, 15, 18, -5, 12,
+ -7, -19, -1, -3, 1, 7, 24, 23,
+ -16, -2, -7, -5, -5, 8, 27, 38,
+ -11, -2, -3, -24, 23, 35, 44, -37,
+ ],
+ [
+ 22, 47, -61, -92, -147, -46, -3, -118,
+ 35, -2, 3, -39, -51, -40, -10, 39,
+ -8, 101, 67, 5, 72, 14, -91, -3,
+ -3, -10, 43, 2, 29, 16, 10, -29,
+ 21, 71, 15, 32, 5, 29, 9, 15,
+ 39, 47, 48, 23, 16, -4, -39, -33,
+ -24, 63, 49, 16, 13, 27, -25, -102,
+ -54, -5, 15, -26, -7, 14, -2, 3,
+ ],
+ [
+ -161, -35, -25, -89, 7, -86, -4, -16,
+ -9, 35, -24, 3, -52, -9, 18, 30,
+ 47, 28, 38, 18, 31, 49, -35, 32,
+ -7, 22, 14, 7, 23, -42, 41, 14,
+ 0, 10, 8, -5, -10, -0, -15, -41,
+ 4, -34, 43, 18, 21, 4, -34, -13,
+ 18, 11, -0, 24, 22, 14, -2, 36,
+ 5, 24, 20, -35, -10, 16, 10, 27,
+ ],
+ [
+ 9, -18, -6, -63, 30, -20, -24, -112,
+ 48, 7, -14, 8, 59, -42, -7, 13,
+ -2, 38, 17, -27, 21, 29, -32, 30,
+ 21, -18, 17, 17, 52, -10, 38, 13,
+ -41, 19, 8, -2, 11, 12, -1, -33,
+ -30, -7, 9, 24, 36, -7, 12, -28,
+ -16, -3, 16, 12, 26, 21, 3, 28,
+ -46, -18, -22, -9, -41, 20, -35, 7,
+ ],
+ [
+ -124, -33, 1, -34, -52, -16, -12, -1,
+ 17, 12, 47, -12, -25, 16, -12, 17,
+ 51, 0, 14, 12, 25, 20, -4, 2,
+ -6, -5, 20, 35, 13, -6, -19, -22,
+ -12, -28, 12, 22, 15, -17, -12, -13,
+ -9, 6, 7, 17, 18, 21, -11, -11,
+ 6, 13, 33, -0, 59, -3, 4, 29,
+ 3, -4, -1, -55, 40, -8, -23, -21,
+ ],
+ [
+ 1, -94, -36, -39, -103, -4, -61, 68,
+ 22, -8, -3, 8, 33, 1, -26, 23,
+ 15, 3, 11, 3, 19, 15, 3, -15,
+ -4, 9, 24, 13, 31, 17, 30, 15,
+ -1, -20, 5, 23, 22, 9, -26, 10,
+ -37, -14, 27, 4, 29, 16, 14, 4,
+ 14, -1, 23, 6, 4, -28, 12, 4,
+ -21, 8, 7, -8, -1, 2, -30, -27,
+ ],
+ [
+ 18, -101, -41, 40, -20, -86, -12, -37,
+ -54, 27, -26, -16, 11, 36, -20, -17,
+ -42, 2, 33, 13, 22, 48, 46, 8,
+ 1, -2, -4, 54, 18, 40, 11, 19,
+ 0, -24, 4, 8, 45, 3, 15, -9,
+ -3, 3, -17, 17, 4, 28, 44, 8,
+ -12, -12, -1, -4, 5, 15, 21, 3,
+ -36, -6, -4, 19, -28, 10, 4, -71,
+ ],
+ [
+ -49, 38, -48, -81, -10, 80, -1, -48,
+ -5, 9, 23, -56, -0, -0, -59, 0,
+ -21, -18, 7, -3, 25, 55, 23, 28,
+ -28, -4, -16, 21, 51, 45, 26, 6,
+ -22, -30, -5, 16, 17, 7, 9, 2,
+ -5, -11, -2, -5, 13, -6, 26, 19,
+ -43, -9, -15, 2, -2, 20, 37, -19,
+ -16, -0, 4, -6, 5, 20, 3, 8,
+ ],
+ [
+ 15, 61, 53, 75, 37, -13, 53, 41,
+ -51, -64, -20, 18, 1, 69, 36, -13,
+ -48, 99, 17, 33, 16, -24, -65, -72,
+ 46, -15, 56, 72, -33, 55, -112, -16,
+ -14, 3, -9, 17, -0, -55, -35, 27,
+ 6, 76, -11, -21, 29, -10, -98, -8,
+ 19, -55, -28, 21, -8, 47, -84, 51,
+ -74, -7, -69, 27, 54, -122, 91, -65,
+ ],
+ [
+ 0, 7, 16, 51, -9, -19, 27, 18,
+ 8, 54, -54, 0, 16, 13, 11, -27,
+ -12, -16, -6, 17, 36, -48, -30, -62,
+ -43, -31, 29, 104, 25, 45, -10, 14,
+ -47, 34, 8, -17, 47, 89, -28, 79,
+ 19, 87, -14, -5, -1, -6, -35, -24,
+ 49, 33, 15, -67, -38, -11, 22, 3,
+ -37, 1, -132, -45, -16, -131, 34, 7,
+ ],
+ [
+ -11, 39, 11, 33, 30, -38, 6, 7,
+ -19, 16, -35, 29, 82, 8, 17, -79,
+ -12, 83, -69, 39, 57, 5, 38, 48,
+ -35, -15, 54, -15, 23, 34, -45, 37,
+ 10, -23, 102, -14, 115, -43, 18, 31,
+ -13, -10, 18, 5, -87, -45, 3, 54,
+ 11, -125, 31, -39, -20, -47, -79, 20,
+ 17, 15, -104, -57, -34, -50, -1, 18,
+ ],
+ [
+ -6, 13, 25, 27, 18, -32, -10, -18,
+ -21, -0, 59, -47, 5, 98, 17, -6,
+ -11, 9, 11, -80, 103, 86, 40, 6,
+ 38, 46, -33, 12, -14, -27, 44, 21,
+ 7, 12, 21, 73, -13, -19, -50, -50,
+ -35, -29, 130, 93, -12, 41, 0, -4,
+ -67, -48, -9, -12, -55, -43, -70, 3,
+ -3, 5, -1, -6, -7, -143, -39, -43,
+ ],
+ [
+ -8, 55, 1, 32, -8, 18, 24, 4,
+ 4, 0, 15, 71, -1, -14, 22, -11,
+ -35, -51, 45, 93, -6, -2, 40, 43,
+ -11, -29, 125, 16, 1, -59, -28, -35,
+ 55, 10, -4, 36, 72, -44, 56, -15,
+ -43, -42, -36, 90, 12, -25, -31, -10,
+ -13, -98, -7, -36, -4, -76, -49, -13,
+ -14, -29, -58, 4, -38, 62, -3, -17,
+ ],
+ [
+ -4, 38, -4, -0, -57, 71, 6, -2,
+ -41, -25, -55, -39, -14, -34, 13, 18,
+ -50, 65, 32, 80, -26, -80, 12, -20,
+ 30, 38, 49, 28, 11, 52, -17, 22,
+ -49, -55, 49, 30, -11, 76, 45, -7,
+ 3, 34, -26, 12, -11, 48, 29, -19,
+ -27, 21, 18, 32, 10, -37, -39, -19,
+ 31, -38, -67, -61, -76, -22, 18, 9,
+ ],
+ [
+ 4, -21, 6, 34, 15, 16, 4, -6,
+ -52, 34, -19, 18, 6, 1, 0, -21,
+ -14, 40, -7, 7, -2, 29, 38, 13,
+ -31, 35, 82, 35, 31, 109, -33, 55,
+ -49, -2, -38, 27, -34, 1, -29, 30,
+ -1, 43, -54, -21, -24, 22, -34, 34,
+ -10, -153, 3, 39, 98, -49, -73, -39,
+ -15, 41, -74, 34, 10, -95, -27, 34,
+ ],
+ [
+ -4, 5, 33, -21, 40, 8, 31, -25,
+ -1, -64, 29, 16, -16, 43, 22, -17,
+ -10, -64, 12, 26, -17, 55, 31, -43,
+ -21, -13, 52, -9, 64, 32, 20, 25,
+ -21, -44, 21, -5, 61, 39, 35, -62,
+ 36, 5, -69, 11, -10, 33, -47, 24,
+ 17, -33, -64, -40, 12, 32, -51, 64,
+ -37, -8, -70, -1, 12, -45, -16, -0,
],
];
internal static readonly short[][] EndGameBishopTable =
[
[
- -7, -21, 31, 34, 17, -12, 22, 9,
- -18, 29, -20, -7, -1, 0, -55, 11,
- 21, 9, -7, -14, -10, 22, 10, 1,
- 1, 8, 13, 21, -15, -5, 8, 24,
- 6, 14, 26, -14, 16, 19, 5, -25,
- -22, 24, 2, -14, -3, 22, -31, -9,
- 5, -22, 19, -20, 29, -23, 5, 25,
- -46, -13, 9, -14, -7, -4, -4, -52,
- ],
- [
- 21, 51, -13, -62, -12, 10, 60, -23,
- 15, 31, -27, 15, -29, -22, 4, 9,
- 9, 36, -9, 13, -3, 7, 18, 9,
- -22, 13, 17, 3, 17, -10, 3, 8,
- 11, -1, 9, 13, 5, -7, -7, -11,
- -8, -28, -3, 9, 5, 1, 4, -21,
- -17, -3, 10, -7, 2, -13, -17, -8,
- -10, -29, 7, -10, -3, 2, 10, -21,
- ],
- [
- -82, 15, -35, -1, 21, -16, -55, 69,
- 21, 12, -43, -41, 1, 0, 20, 13,
- 18, 26, 12, -7, 24, 11, 3, 17,
- -6, -10, 6, 9, 2, 28, 2, -10,
- -44, -11, -10, 15, 8, 7, -2, -5,
- 26, -17, 5, 5, 13, 8, 5, -7,
- -6, -1, -1, 27, 18, 4, 8, 5,
- -6, -4, -55, 4, -18, 18, 23, -35,
- ],
- [
- -7, -9, -13, -43, 21, 32, -43, 35,
- -19, 20, 20, 18, 6, 5, -11, 4,
- -13, -5, 22, -17, 19, 13, 14, 17,
- 9, -16, 26, 6, -13, 11, -6, 9,
- 12, 13, 4, 1, 11, -7, 1, -20,
- -42, 1, 17, 3, -2, -0, 0, -11,
- -43, -11, 5, 7, 17, 11, -12, -20,
- 12, -15, 7, -4, 3, -21, 28, -36,
- ],
- [
- 27, 1, -5, 25, 31, 32, 27, -28,
- -24, -32, -6, 47, 2, 5, 3, -6,
- -4, 9, 16, 15, 12, -6, -6, -10,
- 16, 7, -7, 28, -0, -1, -17, -0,
- -23, 11, -15, 7, 9, 4, 8, -24,
- -13, 2, 21, 5, 4, -13, 5, 2,
- -8, 1, 8, 7, -0, -10, -9, -19,
- -31, -5, -6, -9, -33, -0, -7, -17,
- ],
- [
- -6, -15, 7, 14, 29, -19, -0, -74,
- -9, -25, 12, 5, -2, -11, 4, -11,
- -8, 34, -1, -18, 16, -3, 6, -6,
- 2, 16, 23, 4, 1, 11, 8, 17,
- -17, 32, 13, 3, 4, 5, 1, 2,
- 8, -4, 10, 13, 15, -13, -13, -16,
- 3, 0, -9, 14, 18, 11, -13, -31,
- -17, 3, 9, 4, -2, -26, -5, -4,
- ],
- [
- 3, -6, -14, 8, -4, -3, 16, -30,
- 2, -2, -4, -10, 2, -5, 4, -12,
- -7, 12, 10, 3, 10, 12, 15, 27,
- 11, 7, 11, 16, 10, 8, 1, 19,
- 8, 3, 12, 15, 12, 6, 2, -19,
- 5, 3, 11, 13, 7, 3, -18, -3,
- -12, -3, -5, 7, 10, 11, -5, -5,
- -12, -3, -3, -1, 1, 0, -109, -40,
- ],
- [
- 46, 33, 3, 14, 16, -63, 12, -27,
- -11, -6, 4, -5, -14, -6, -2, 22,
- -5, 3, 12, -1, 6, -37, 0, 8,
- -10, 14, -0, 18, 7, 12, -12, 4,
- -11, -19, 17, 5, 20, -18, 19, -13,
- -7, 9, 9, 20, 18, 23, -7, -6,
- 3, -7, -14, 14, 14, 13, 4, -21,
- -12, -10, -8, -24, -23, 3, -3, -22,
- ],
- [
- 44, -18, 14, 30, 17, -0, 10, 22,
- 1, 3, 28, 8, 8, -10, -8, -18,
- 28, -32, -1, 14, -12, 11, 45, 12,
- 7, 6, 2, 16, 5, 6, -1, -12,
- 1, -6, -7, 1, 5, -2, -3, 13,
- -11, -15, -10, -5, -3, 4, -3, -13,
- -3, -46, -29, -2, 4, -20, 4, -8,
- -3, -2, -12, -9, -21, -3, 4, -26,
- ],
- [
- 11, 26, 4, 23, -3, 6, 14, -6,
- 6, -9, 7, 11, 11, -8, -8, -4,
- 7, 5, -7, 16, -8, -7, 13, -15,
- 5, -9, 3, 6, -6, 13, -3, -9,
- -2, -2, 7, 9, 4, 3, -3, 21,
- 9, 2, -9, 0, -1, -4, 3, -20,
- 18, -5, -3, -4, -4, 2, -8, -30,
- -32, -6, -9, 5, 11, -5, 0, -31,
- ],
- [
- 1, 9, 10, -2, -1, 0, -10, 18,
- -8, 3, 6, -0, 2, 21, 16, -6,
- 8, -7, 6, 11, 0, 3, 1, -7,
- -9, 2, -12, -1, -13, 5, -13, -5,
- 6, -3, 1, 9, 1, -3, -6, 3,
- 8, 7, -3, -6, -9, 3, -21, -3,
- 1, -8, -4, -1, -10, -11, -9, -17,
- 17, 6, -1, 3, 5, 4, 28, -11,
- ],
- [
- 29, 15, -7, 12, -6, -6, -4, -7,
- 2, -1, -7, 1, 2, -0, 15, -5,
- -9, 2, 3, 5, -4, 11, 6, 14,
- 3, 1, -9, -5, 1, -3, 9, 6,
- -7, 9, -0, 2, -3, 4, 2, 4,
- 7, -5, -2, -2, -3, -13, -4, -9,
- -14, -10, -7, 8, -6, 12, -12, -22,
- -3, 9, 9, 18, -11, 11, -26, -1,
- ],
- [
- -1, 26, 3, 6, 18, 7, -4, -17,
- -25, 1, 0, -5, 4, -6, 17, 7,
- -4, 1, -2, 2, 11, 0, 14, 9,
- 3, -1, -3, 2, 1, 12, -12, -2,
- 6, 8, 1, 1, 7, -1, 7, -14,
- 12, -0, -8, 3, -9, -6, 3, -9,
- -15, -8, -6, 0, -1, 4, -13, -20,
- 4, -4, -7, 1, 4, 12, 7, -24,
- ],
- [
- -4, 26, 11, -2, 6, 25, 3, 45,
- 2, -11, 13, 8, -1, -6, 2, -5,
- -4, -4, -4, -3, 10, 2, -8, 17,
- -4, -5, 7, -9, 10, -0, 4, -13,
- -12, 11, 0, 12, 1, 7, -5, 12,
- -4, -3, 8, 3, 3, -5, -16, -0,
- -6, -3, -7, -0, -9, -10, -15, -41,
- -1, -3, -1, -16, 17, -6, -10, -12,
- ],
- [
- 9, 4, 6, 22, -7, -13, -16, -22,
- 4, -20, 3, 21, 16, -26, 31, 0,
- -12, 1, 10, 14, 23, -1, 4, 20,
- 13, 1, 9, 13, -1, -3, 8, 22,
- 0, 12, 8, 8, 10, 16, 5, 4,
- -9, -5, 4, 11, 4, 8, 6, 1,
- -2, -9, 1, -13, -7, -8, -20, -0,
- -15, -13, -23, -2, -13, -13, -37, -43,
- ],
- [
- 1, -62, -17, -8, 33, -6, -30, 25,
- 44, 27, -16, -15, 1, -9, -9, -25,
- 32, -3, 16, -0, -1, 27, -7, 22,
- 14, 19, 9, -1, 13, -15, 21, 19,
- -3, -25, 17, -12, -22, 15, 10, 10,
- -10, -23, 4, 0, 0, 0, 8, -17,
- -9, -1, -13, -18, -1, -17, -2, -29,
- 18, 10, 8, -8, -41, 35, -25, 42,
- ],
- [
- 18, -29, -5, 39, -28, -46, -12, 5,
- 23, 13, 10, 15, 21, -2, -35, -36,
- 5, 23, -4, 1, -21, 3, -7, -1,
- 12, 59, 9, -17, -17, -16, -16, -7,
- -3, 12, 4, 13, -8, -9, -22, 18,
- -12, -8, -2, -5, -6, -4, 26, 0,
- 5, -17, -15, -8, 9, -16, 18, -7,
- -24, 19, 18, 14, 20, 34, -25, 22,
- ],
- [
- 14, 12, 5, 2, -7, -21, -36, 7,
- 42, -15, 5, -10, -20, -34, 1, 1,
- 19, -19, 27, 1, 1, -19, -28, -10,
- -6, 20, 1, 14, -22, -28, -3, -26,
- 8, 9, -15, 2, -16, -5, -9, 50,
- 7, 22, -8, -2, 31, 2, 26, -11,
- -11, 17, -25, 17, -12, -12, 31, -6,
- -30, 2, 15, 19, 27, -18, -0, 29,
- ],
- [
- 14, 22, -3, 2, -8, -2, -19, -27,
- -32, -29, 0, -1, 1, -25, 2, -17,
- -4, 5, -7, 31, -18, -22, -30, 16,
- 22, -2, 25, -9, 8, -9, -5, -13,
- 34, 4, -8, -10, -5, 12, 1, 56,
- -6, 6, -13, -24, 14, 4, 8, 31,
- 15, 22, -8, -7, -8, 8, -3, 11,
- -0, -16, 25, -4, -15, 5, -12, 16,
- ],
- [
- -11, -14, -14, -18, -27, 12, 17, 16,
- -16, 13, -4, -24, -23, 4, -5, 19,
- 14, -28, -1, -24, 24, -6, 11, 6,
- -10, 1, -25, -10, -11, 34, 9, 11,
- 8, 10, 5, -12, -22, 14, 16, 42,
- 20, -3, -17, -19, -9, 24, 1, 28,
- 9, 13, -25, 18, -8, 12, 2, -12,
- 17, -20, 22, 5, 13, -8, -6, -36,
- ],
- [
- 9, -14, -14, -13, -16, 10, -22, 2,
- -5, -7, 13, -8, -6, -3, 3, 7,
- 1, -18, -17, -14, 8, 36, 9, 18,
- -23, -20, -13, -2, 9, 9, 17, 24,
- 33, 12, 1, 3, 2, -14, 8, -7,
- -6, 15, 3, 0, -5, -6, 40, 31,
- 43, -17, -8, -3, -11, 19, 12, -22,
- -30, -3, 9, -11, 5, -14, -19, -23,
- ],
- [
- -13, -18, -21, 2, 28, -6, 29, -25,
- -33, -7, -15, -18, -7, -10, 1, 9,
- 2, -17, -12, -7, 16, 10, 25, 0,
- 10, -12, -26, -9, 6, 6, 15, 26,
- -14, 3, 22, -14, 17, 1, 20, 7,
- 20, -2, 22, 10, -3, 11, -25, 9,
- 4, 42, 14, -12, -30, -28, 6, -14,
- -4, -13, 20, -14, -4, 15, -11, 11,
- ],
- [
- -40, 0, -26, 13, -14, 9, 10, 8,
- -17, -8, -13, 18, -41, 62, 11, 7,
- 3, -26, 5, -1, -2, 47, 31, -23,
- -19, 4, 6, 11, 6, 19, 15, 6,
- -4, -18, -21, 1, 14, 0, 8, -11,
- -15, 26, -9, 24, 7, 9, -1, -20,
- 3, -8, 6, -11, -19, -9, -18, 28,
- -9, -16, 14, -1, 8, 1, -34, 12,
+ -8, -19, 31, 34, 18, -12, 21, 9,
+ -19, 30, -19, -6, 0, 0, -54, 11,
+ 22, 8, -7, -15, -11, 22, 9, 0,
+ 3, 7, 11, 20, -17, -6, 7, 24,
+ 6, 13, 25, -15, 15, 17, 4, -25,
+ -21, 24, 1, -13, -4, 23, -32, -8,
+ 6, -21, 19, -20, 30, -22, 6, 25,
+ -45, -13, 9, -14, -6, -3, -3, -50,
+ ],
+ [
+ 22, 53, -13, -60, -10, 13, 62, -22,
+ 17, 33, -25, 15, -27, -22, 5, 12,
+ 12, 34, -10, 12, -3, 8, 15, 11,
+ -20, 11, 15, -1, 13, -15, -1, 9,
+ 10, -4, 6, 10, 2, -10, -9, -9,
+ -10, -36, -10, 4, 3, -0, -2, -19,
+ -15, -1, 12, -5, 5, -10, -14, -7,
+ -8, -27, 9, -8, -0, 5, 12, -18,
+ ],
+ [
+ -83, 15, -34, 0, 23, -14, -51, 67,
+ 22, 13, -43, -40, 2, 1, 19, 13,
+ 18, 25, 12, -6, 24, 10, 3, 17,
+ -6, -10, 5, 8, 1, 28, 1, -10,
+ -45, -11, -11, 15, 8, 7, -2, -5,
+ 26, -17, 4, 6, 13, 8, 6, -7,
+ -7, -2, -1, 27, 18, 4, 8, 3,
+ -7, -5, -55, 4, -18, 19, 23, -34,
+ ],
+ [
+ -6, -8, -11, -42, 21, 35, -43, 37,
+ -17, 21, 19, 19, 7, 6, -10, 5,
+ -12, -5, 23, -19, 20, 13, 12, 18,
+ 9, -18, 25, 4, -16, 9, -9, 10,
+ 12, 11, 2, -1, 10, -10, 0, -21,
+ -41, -3, 16, 2, -4, -1, -3, -11,
+ -43, -11, 6, 9, 17, 13, -11, -19,
+ 13, -15, 8, -2, 5, -20, 30, -35,
+ ],
+ [
+ 28, 3, -4, 27, 33, 33, 30, -27,
+ -22, -32, -5, 50, 2, 6, 4, -5,
+ -4, 7, 16, 15, 13, -7, -6, -8,
+ 17, 5, -10, 26, -3, -4, -19, 0,
+ -22, 10, -16, 3, 6, 0, 6, -24,
+ -12, -2, 18, 5, 0, -16, -1, 2,
+ -7, 3, 10, 8, 2, -9, -8, -19,
+ -30, -3, -4, -8, -32, 2, -6, -15,
+ ],
+ [
+ -3, -17, 6, 15, 30, -18, 1, -74,
+ -9, -25, 12, 4, -2, -11, 3, -9,
+ -8, 35, -1, -17, 16, -3, 6, -6,
+ 3, 15, 23, 3, 1, 10, 6, 17,
+ -16, 32, 12, 3, 3, 4, 1, 3,
+ 8, -3, 10, 13, 15, -13, -12, -16,
+ 2, 1, -9, 15, 18, 11, -13, -31,
+ -16, 3, 9, 4, -1, -25, -3, -8,
+ ],
+ [
+ 5, -4, -12, 9, -3, -2, 18, -28,
+ 4, -1, -3, -9, 3, -3, 5, -10,
+ -6, 10, 9, 2, 9, 11, 15, 29,
+ 12, 5, 8, 13, 7, 6, -0, 20,
+ 9, 1, 10, 11, 10, 3, -0, -20,
+ 6, -2, 9, 13, 2, -2, -25, -2,
+ -10, -1, -4, 9, 12, 12, -3, -3,
+ -10, -1, -2, 0, 3, 2, -109, -38,
+ ],
+ [
+ 46, 36, 4, 19, 17, -61, 15, -25,
+ -8, -7, 5, -3, -14, -6, -0, 22,
+ -4, 2, 10, -2, 4, -37, 0, 10,
+ -10, 11, -2, 15, 6, 8, -14, 5,
+ -11, -22, 15, 3, 17, -19, 16, -13,
+ -6, 3, 6, 19, 16, 18, -12, -7,
+ 5, -6, -12, 16, 16, 16, 6, -19,
+ -10, -8, -6, -22, -21, 5, -2, -21,
+ ],
+ [
+ 43, -19, 13, 28, 16, -2, 9, 21,
+ -1, 3, 28, 7, 7, -11, -8, -20,
+ 27, -31, 1, 15, -10, 12, 46, 10,
+ 6, 8, 3, 18, 8, 9, 1, -13,
+ 2, -5, -5, 3, 8, -0, -2, 14,
+ -12, -14, -11, -3, -2, 4, 0, -14,
+ -5, -46, -30, -3, 3, -21, 3, -9,
+ -5, -3, -13, -11, -22, -5, 3, -27,
+ ],
+ [
+ 7, 24, 2, 20, -5, 4, 12, -8,
+ 3, -10, 6, 9, 10, -9, -9, -7,
+ 6, 7, -4, 20, -7, -6, 16, -16,
+ 4, -5, 7, 10, -0, 17, 0, -11,
+ -4, 1, 9, 12, 9, 7, 0, 20,
+ 8, 5, -6, -1, 2, -0, 11, -22,
+ 17, -8, -6, -7, -6, 1, -10, -32,
+ -35, -8, -12, 1, 8, -8, -2, -33,
+ ],
+ [
+ -2, 6, 8, -5, -5, -2, -11, 15,
+ -10, 2, 5, -3, -0, 18, 14, -9,
+ 7, -4, 8, 14, 2, 7, 5, -9,
+ -10, 5, -7, 4, -8, 9, -8, -6,
+ 5, 1, 3, 12, 4, 2, -3, 2,
+ 6, 11, -2, -5, -6, 5, -14, -4,
+ -1, -11, -6, -4, -12, -13, -11, -18,
+ 15, 4, -4, 0, 2, 0, 25, -13,
+ ],
+ [
+ 28, 14, -10, 10, -8, -9, -7, -10,
+ -0, -2, -8, -0, 1, -2, 14, -8,
+ -10, 4, 5, 7, -2, 14, 8, 12,
+ 2, 5, -5, -1, 5, 1, 12, 4,
+ -7, 13, 3, 5, -1, 9, 4, 4,
+ 6, -0, 1, -2, 2, -10, 4, -11,
+ -16, -12, -9, 5, -8, 11, -15, -23,
+ -5, 7, 6, 15, -14, 8, -28, -3,
+ ],
+ [
+ -3, 25, 2, 4, 17, 5, -5, -18,
+ -26, 1, -1, -6, 3, -7, 17, 6,
+ -4, 3, -1, 4, 12, 2, 16, 8,
+ 2, 1, -1, 4, 4, 15, -10, -3,
+ 6, 10, 3, 3, 9, 2, 9, -15,
+ 11, 4, -6, 4, -10, -3, 5, -9,
+ -16, -10, -8, -1, -2, 2, -14, -20,
+ 3, -4, -9, -0, 2, 11, 5, -25,
+ ],
+ [
+ -4, 27, 12, -1, 6, 26, 3, 46,
+ 3, -11, 14, 8, -1, -6, 2, -4,
+ -4, -4, -4, -3, 10, 2, -9, 17,
+ -4, -6, 7, -10, 9, -2, 3, -13,
+ -12, 11, -0, 11, 1, 6, -6, 12,
+ -3, -3, 8, 3, 3, -5, -16, 1,
+ -5, -2, -6, 0, -8, -9, -15, -41,
+ -0, -3, -1, -15, 18, -6, -10, -13,
+ ],
+ [
+ 9, 5, 6, 23, -6, -12, -16, -21,
+ 5, -20, 4, 21, 17, -25, 31, 1,
+ -11, -0, 9, 13, 22, -1, 3, 21,
+ 14, -1, 8, 11, -3, -4, 6, 23,
+ 0, 10, 7, 6, 8, 14, 3, 5,
+ -8, -6, 4, 11, 2, 7, 4, 2,
+ -1, -8, 3, -12, -6, -7, -19, 0,
+ -14, -12, -22, -1, -12, -12, -36, -41,
+ ],
+ [
+ 2, -62, -19, -8, 32, -8, -33, 20,
+ 40, 26, -16, -17, -0, -9, -9, -28,
+ 32, -2, 18, 2, 1, 29, -5, 21,
+ 14, 21, 12, 3, 16, -10, 24, 19,
+ -3, -24, 18, -8, -18, 20, 12, 10,
+ -12, -21, 3, 2, 2, 1, 11, -17,
+ -12, -5, -16, -21, -3, -18, -4, -31,
+ 18, 9, 6, -9, -43, 33, -27, 41,
+ ],
+ [
+ 15, -31, -7, 38, -29, -48, -14, 2,
+ 20, 12, 8, 14, 20, -3, -34, -39,
+ 4, 22, -3, 4, -19, 5, -4, -5,
+ 12, 60, 10, -12, -12, -8, -11, -7,
+ -1, 13, 6, 16, -2, -4, -19, 18,
+ -13, -7, -1, -4, -3, -2, 28, -1,
+ 4, -19, -17, -11, 7, -19, 16, -8,
+ -28, 14, 17, 12, 17, 33, -25, 21,
+ ],
+ [
+ 11, 11, 3, 1, -8, -23, -35, 6,
+ 43, -15, 5, -9, -21, -36, 1, 0,
+ 17, -18, 28, 2, 1, -17, -29, -11,
+ -5, 22, 2, 15, -19, -26, -1, -27,
+ 8, 8, -12, 5, -14, -2, -9, 49,
+ 8, 23, -8, -2, 31, 2, 28, -12,
+ -9, 15, -25, 17, -14, -12, 31, -6,
+ -33, 0, 14, 17, 26, -18, -2, 29,
+ ],
+ [
+ 12, 21, -5, -1, -11, -4, -21, -28,
+ -31, -27, -1, -3, -0, -27, 1, -18,
+ -4, 7, -7, 32, -19, -20, -26, 16,
+ 20, 3, 27, -6, 11, -5, -1, -12,
+ 35, 4, -5, -5, -3, 16, 3, 56,
+ -6, 9, -13, -24, 17, 5, 7, 30,
+ 13, 21, -12, -10, -9, 5, -4, 10,
+ -2, -19, 23, -5, -17, 4, -13, 17,
+ ],
+ [
+ -15, -18, -15, -21, -30, 8, 15, 13,
+ -19, 13, -6, -28, -24, 2, -2, 19,
+ 12, -25, -1, -24, 24, -5, 15, 3,
+ -13, 5, -19, -5, -6, 38, 17, 10,
+ 7, 14, 8, -6, -18, 18, 18, 43,
+ 19, 0, -14, -20, -6, 26, 2, 28,
+ 7, 11, -27, 14, -10, 10, -0, -13,
+ 17, -23, 20, 2, 11, -12, -6, -38,
+ ],
+ [
+ 5, -17, -17, -17, -20, 6, -24, 1,
+ -8, -8, 10, -7, -7, -4, 3, 5,
+ -0, -18, -15, -11, 9, 37, 13, 16,
+ -23, -11, -8, 3, 13, 12, 23, 24,
+ 30, 17, 8, 10, 4, -7, 11, -8,
+ -8, 19, 5, 2, 0, -4, 41, 30,
+ 42, -18, -10, -6, -14, 16, 8, -24,
+ -32, -6, 6, -14, 3, -19, -22, -26,
+ ],
+ [
+ -13, -18, -21, 1, 28, -7, 27, -25,
+ -34, -8, -15, -19, -7, -9, 2, 9,
+ 2, -18, -13, -6, 15, 9, 25, 0,
+ 8, -12, -26, -8, 8, 5, 14, 26,
+ -13, 4, 21, -12, 17, 2, 18, 8,
+ 21, 1, 24, 11, 0, 11, -24, 12,
+ 3, 42, 13, -12, -29, -29, 4, -13,
+ -4, -13, 21, -13, -5, 16, -11, 9,
+ ],
+ [
+ -41, -1, -26, 12, -15, 9, 10, 8,
+ -19, -9, -12, 16, -42, 62, 8, 7,
+ 2, -25, 6, -1, -1, 49, 31, -22,
+ -18, 5, 7, 12, 6, 20, 17, 6,
+ -6, -16, -19, 3, 14, 2, 8, -11,
+ -16, 29, -7, 26, 11, 10, -0, -20,
+ 4, -9, 5, -12, -21, -12, -20, 30,
+ -10, -18, 14, -0, 8, -1, -37, 12,
],
];
internal static readonly short[][] MiddleGameRookTable =
[
[
- -72, -102, 13, -36, -51, -66, -52, -6,
- 65, 96, 62, -4, 3, 46, -14, -19,
- -72, 15, 23, 3, 16, -32, -58, -10,
- 28, 75, 48, 34, 30, 3, -1, -10,
- -21, 74, -8, 19, 13, 28, -37, -26,
- -50, 14, 10, 15, -0, -13, -20, -78,
- 27, 1, 19, -8, -9, 21, -20, -26,
- -12, 22, 28, 30, 23, 3, 14, 9,
- ],
- [
- -3, 18, -41, 10, -24, -73, -3, -55,
- 48, 48, 4, 4, -8, 25, -14, -11,
- 48, -34, 17, 21, 26, -8, 51, 14,
- -8, 49, 2, 25, 13, 13, 13, -8,
- -10, 23, -7, -2, 2, 8, -14, 6,
- -37, 11, -6, 0, 17, -10, -20, 3,
- -98, -1, -9, 10, 12, 0, -5, -4,
- -40, -102, 20, 23, 22, -0, 30, 21,
- ],
- [
- 48, -17, 55, -1, 34, -19, -13, -49,
- -39, 12, 14, -30, -5, 29, -46, -39,
- 17, 41, 32, 8, 25, 24, 14, -7,
- 1, -15, 23, 12, 30, 1, 2, 2,
- -4, 18, 7, 2, -1, -21, -4, -10,
- -26, -3, 33, 7, -13, -2, -4, -25,
- -45, -5, -11, 8, 11, -5, -3, -10,
- -35, 5, -82, 19, 25, 1, 22, 6,
- ],
- [
- -4, -103, -47, 13, -73, -99, -45, -16,
- 3, 8, 22, -8, 6, -43, -46, -44,
- 24, 0, -34, 76, -17, 4, -33, -9,
- 40, 14, 63, -9, -9, 48, -32, -14,
- 23, 15, 15, 23, 9, 16, 9, 27,
- 29, 5, -13, 3, 29, 35, -29, 11,
- -7, 10, 25, -20, 5, 60, -29, 10,
- -9, 4, 37, -25, 31, 11, 39, 14,
- ],
- [
- -2, 1, -5, -9, 9, -27, 5, -5,
- -40, -61, -60, -68, -20, -46, -46, 3,
- -12, 8, -50, -10, 2, -15, -20, -22,
- -15, 22, -30, -18, 28, 54, 3, 3,
- 2, 15, -10, -32, -2, 26, 1, 11,
- 14, 41, 5, 6, 42, 9, 6, 17,
- 15, 19, 19, 22, 34, 3, 17, 13,
- 37, 33, 31, 33, -77, 4, 34, 55,
- ],
- [
- -22, -40, -59, -3, -52, -97, -78, 18,
- -22, -32, -22, -13, 0, 54, 32, 28,
- -13, 15, -52, 15, 15, -45, 43, -12,
- -20, 17, -20, 25, -13, 49, 14, 16,
- -11, -36, 21, 17, 21, 35, 6, -13,
- 3, 15, -23, 26, 4, 15, 39, 35,
- -13, -32, 21, 4, 23, 32, 21, 11,
- -3, 9, 11, 16, 21, -38, 32, 6,
- ],
- [
- -25, -20, -27, -17, -5, 28, 57, 0,
- -22, -24, -15, -16, -22, 23, 51, 52,
- -16, 19, -3, -10, 16, 39, 45, 11,
- -7, -1, -15, 15, 1, 18, 20, 12,
- -11, -31, -5, -6, -8, -20, 14, -15,
- -22, -7, -9, -5, -3, -2, 10, 2,
- -8, -13, -3, -1, 9, 12, 46, -11,
- -3, 13, 15, 16, 21, 4, -111, -30,
- ],
- [
- -19, 51, -79, -44, 14, -10, -9, 19,
- -22, -18, -19, -24, -16, -6, 22, -4,
- -9, 12, -30, -15, 19, 7, 61, 66,
- -5, -14, -17, 8, 2, 6, 16, 24,
- -19, -32, -6, -2, 3, -6, 23, 17,
- -36, -7, -16, 0, 7, 2, 17, 30,
- -24, -17, -2, 9, 8, 15, 30, 62,
- -5, 10, 12, 7, 17, 14, 31, -109,
- ],
- [
- 33, 86, -4, 0, 8, -24, -58, 46,
- -14, 60, 64, -10, 32, -22, -44, -15,
- 19, 23, 91, 59, -52, 37, -25, -44,
- -5, -7, 37, 26, -29, 6, 15, -9,
- 42, -53, -36, 1, -14, 3, -46, -26,
- -45, 27, 8, -8, -12, 42, -49, -32,
- -15, -35, -5, -6, -1, -5, -22, -38,
- -4, -5, 13, 12, 21, -6, 17, -1,
- ],
- [
- 86, -92, 60, 60, 8, -5, -14, -59,
- 37, -1, 32, 43, 73, -2, -45, 5,
- 5, 71, 78, 24, 6, 26, -20, -17,
- 10, 44, 51, 13, 22, 9, -7, 7,
- -20, -60, 7, 35, -21, -59, -57, 14,
- 6, -24, -83, -55, -34, 5, -43, -46,
- -12, -8, -48, 28, 15, -21, -3, -24,
- -23, 3, 10, -1, 9, -11, 13, -1,
- ],
- [
- 52, -68, 6, -11, -39, 41, 115, -35,
- 5, 36, -33, 37, -51, -39, 12, 16,
- 74, 28, -4, 11, 29, 47, 21, -12,
- 39, 10, -21, 9, 18, 35, 13, 15,
- -26, 18, -30, 27, -79, -5, -11, -25,
- -26, -3, -24, 23, -17, -24, -19, -35,
- -33, -51, 12, -54, -17, 5, 3, -17,
- -18, 10, 10, 1, 15, 9, 22, 4,
- ],
- [
- -32, -51, -8, -57, 72, 78, -13, -14,
- 27, -3, -25, 36, 27, -5, 15, 24,
- -17, -3, -7, -34, 28, 53, -2, 12,
- 13, -23, -9, -34, 23, 48, -5, -15,
- -39, -3, -27, -14, 55, 10, -13, -7,
- -11, -12, -11, -6, 32, -30, -51, -21,
- -11, -15, 11, -13, 19, 23, 1, -9,
- -15, 1, 21, 7, 30, -6, 15, -6,
- ],
- [
- -2, 17, -45, -12, 11, -49, -87, 2,
- -16, -22, 2, 44, 32, 58, 44, 64,
- -22, -7, 20, -12, 46, 5, -9, 39,
- -26, 26, -28, 4, 3, -0, -1, 18,
- -43, -11, -2, -21, 16, -5, 25, -2,
- -16, -6, -39, -17, -8, 30, -17, 17,
- -50, -13, 10, -2, 22, -71, 16, 28,
- -12, 9, 10, 14, 13, -9, 22, 11,
- ],
- [
- -42, -10, -13, 24, 45, 34, 73, 20,
- -24, -18, 32, 24, 19, 73, 31, 31,
- -13, -4, -0, 6, 22, 71, 40, 28,
- -29, -7, -0, 22, 15, 22, 51, 18,
- -28, -38, -16, 7, -26, -10, -14, -10,
- -54, -23, -24, 1, 3, -21, -9, -19,
- -33, -20, -16, -23, 7, 12, -85, -9,
- -27, -10, -1, -7, 1, -10, -41, -1,
- ],
- [
- -34, 15, -11, 32, -0, 83, 42, 52,
- -26, -18, -21, -10, 17, 89, 52, 92,
- -20, -1, -12, -6, 28, 24, 88, 102,
- -33, 7, -31, 7, 14, 21, 17, -4,
- -56, -26, -20, -30, -21, -23, 10, -2,
- -45, -34, -30, -11, -7, -10, 1, -1,
- -32, -25, -27, -19, -4, 6, 12, -81,
- -30, -13, -11, -6, -2, -10, 17, -25,
- ],
- [
- -103, 29, 78, 22, -34, 62, 7, 27,
- 2, 87, 113, -8, 37, 132, 30, 34,
- -46, 56, 26, 82, 32, 131, 68, -8,
- -95, 90, 108, 43, -111, -76, 63, -120,
- -65, -14, 42, 9, -3, -39, -18, -106,
- 27, -81, -44, -86, 20, -31, 40, -75,
- -19, 40, 20, -17, -88, -83, 67, -57,
- -102, 69, 18, -29, -40, -4, -54, -56,
- ],
- [
- 55, 7, 76, 1, 29, 16, 83, 59,
- 90, 75, 72, 62, 64, 68, 62, -2,
- 71, 84, 89, -27, 18, 18, 33, 26,
- 5, -46, -59, -3, -16, 9, -25, 34,
- -41, 3, 18, -64, -41, -1, 2, -45,
- -84, 18, 34, 5, -18, 26, 61, 100,
- 14, 9, 2, -36, -49, -29, -73, -6,
- -177, -86, -129, -97, -57, -5, -118, -165,
- ],
- [
- -10, -8, 72, 29, 67, 85, 51, 77,
- 60, -2, 75, 18, 71, 77, 74, -34,
- 49, 15, -33, 90, 6, -24, 31, 29,
- -11, 41, -33, -50, -25, 58, 19, 53,
- 48, 12, -9, 1, -30, 51, 29, -9,
- -70, -107, -5, -13, -1, -1, 31, -32,
- 42, 58, 44, -6, -11, -4, -38, -13,
- -287, -163, -122, -83, -81, -27, -7, -113,
- ],
- [
- 99, 75, -12, -9, -16, 12, 5, 63,
- 44, 28, -6, 27, 79, -108, 38, 14,
- -48, -53, 34, -21, 10, 6, 24, -7,
- 41, 34, 36, -35, 62, 23, 32, 71,
- -23, 16, 49, -20, 58, 3, 65, -0,
- 33, 18, 56, 22, -59, -50, 30, -37,
- -6, -51, -76, 29, -29, 38, 49, 11,
- -256, -93, -59, -50, -113, -0, -18, -82,
- ],
- [
- 53, 19, -5, 53, 6, -15, 68, 76,
- 40, 65, 117, 67, 11, 16, -41, 14,
- -36, 32, -22, 15, 3, 85, 60, -41,
- 4, -50, 10, -26, -34, 27, -26, 26,
- 10, 41, 25, 18, 69, -87, 106, -5,
- -10, -35, 12, -75, 37, 42, 43, 28,
- -33, -3, 4, -50, -32, 9, -77, -77,
- -128, -13, -70, -145, -52, -58, -51, -16,
- ],
- [
- 46, 35, 8, -29, 10, -15, -58, 66,
- -28, 66, -41, 39, 71, -33, 62, 37,
- -30, 11, 30, -19, -9, -8, 65, 66,
- -32, -37, 14, -4, 33, 23, -30, 79,
- -35, -55, -5, 32, 67, -34, 42, -18,
- 27, 3, 18, -28, -1, 5, -13, -11,
- 6, -4, -27, -54, 35, -5, 8, 21,
- -64, -94, -45, -35, -69, -57, 17, -19,
- ],
- [
- 53, 4, -25, -56, 43, 50, -9, 42,
- -17, 12, 7, 124, 31, -20, 95, -68,
- -10, 18, 69, 58, 6, 36, 96, 31,
- -11, -3, 13, 47, 64, 47, 54, -2,
- 14, 9, -41, 35, 51, -7, -7, 2,
- -67, -15, -45, 9, 52, 22, 62, -9,
- -62, -2, -65, 47, -45, 0, -18, -49,
- -186, -119, -44, -35, -44, -99, -39, -86,
- ],
- [
- 23, 19, -5, 69, 27, -46, 28, -6,
- 7, 113, 30, 52, 87, 65, 112, 16,
- 20, -3, 125, 23, 21, 67, 70, -5,
- 25, -28, 15, -5, -10, 65, 32, 6,
- 7, -56, -32, -110, 25, 123, 4, -9,
- 13, -16, -38, 11, -70, -58, 51, -56,
- -48, -98, 11, -11, -12, -29, -22, 53,
- -242, -102, -92, -16, -100, -12, 5, -80,
+ -72, -97, 13, -36, -51, -66, -49, -4,
+ 65, 96, 61, -3, 3, 46, -13, -19,
+ -72, 15, 23, 3, 15, -32, -58, -9,
+ 27, 75, 47, 34, 30, 3, -3, -10,
+ -21, 74, -8, 19, 13, 29, -38, -26,
+ -51, 12, 10, 15, -1, -12, -20, -78,
+ 28, 2, 20, -7, -10, 21, -21, -26,
+ -12, 22, 28, 30, 24, 2, 14, 8,
+ ],
+ [
+ -1, 19, -40, 11, -24, -73, -3, -55,
+ 48, 48, 4, 5, -7, 25, -12, -10,
+ 49, -35, 16, 21, 25, -9, 51, 15,
+ -8, 48, 0, 24, 12, 11, 11, -8,
+ -10, 23, -8, -3, 1, 7, -15, 5,
+ -38, 9, -7, -1, 17, -10, -20, 4,
+ -97, -0, -8, 11, 12, 0, -4, -3,
+ -39, -100, 20, 23, 22, -0, 30, 20,
+ ],
+ [
+ 47, -13, 59, -1, 37, -17, -14, -48,
+ -38, 13, 16, -29, -4, 29, -45, -37,
+ 19, 40, 32, 8, 25, 25, 14, -6,
+ -0, -16, 21, 11, 29, -1, -1, 2,
+ -5, 16, 5, 1, -1, -23, -5, -11,
+ -28, -7, 33, 4, -14, -3, -6, -25,
+ -43, -4, -10, 10, 12, -5, -2, -9,
+ -34, 6, -79, 20, 26, 1, 22, 6,
+ ],
+ [
+ -4, -102, -45, 14, -75, -97, -42, -11,
+ 4, 8, 21, -7, 9, -44, -47, -42,
+ 25, 1, -35, 75, -16, 4, -31, -7,
+ 38, 13, 59, -9, -10, 46, -34, -15,
+ 22, 14, 13, 23, 7, 14, 9, 25,
+ 30, 0, -16, 3, 27, 35, -32, 12,
+ -6, 12, 26, -18, 7, 60, -28, 10,
+ -9, 4, 37, -23, 32, 12, 39, 14,
+ ],
+ [
+ -1, 2, -5, -7, 12, -26, 4, -5,
+ -40, -60, -60, -68, -19, -46, -45, 4,
+ -11, 8, -50, -9, 2, -14, -19, -21,
+ -16, 21, -32, -20, 26, 53, 1, 3,
+ 1, 14, -12, -34, -3, 24, 1, 10,
+ 13, 39, 4, 5, 41, 9, 3, 17,
+ 16, 20, 20, 24, 37, 4, 18, 14,
+ 38, 34, 31, 33, -75, 5, 35, 55,
+ ],
+ [
+ -21, -40, -58, -2, -53, -96, -77, 18,
+ -22, -32, -22, -12, -0, 53, 34, 28,
+ -12, 15, -53, 14, 14, -47, 43, -12,
+ -20, 17, -20, 25, -13, 48, 13, 16,
+ -10, -36, 21, 17, 21, 35, 5, -14,
+ 4, 16, -22, 25, 4, 15, 41, 35,
+ -14, -32, 20, 4, 23, 31, 20, 10,
+ -3, 8, 11, 16, 21, -37, 32, 5,
+ ],
+ [
+ -24, -19, -25, -16, -3, 31, 60, 2,
+ -21, -24, -14, -15, -21, 24, 53, 52,
+ -16, 19, -4, -10, 16, 38, 44, 12,
+ -8, -2, -16, 14, -0, 16, 18, 12,
+ -11, -32, -7, -7, -9, -21, 13, -15,
+ -23, -8, -9, -6, -4, -3, 9, 2,
+ -8, -13, -3, -0, 9, 12, 47, -10,
+ -3, 13, 15, 16, 21, 4, -110, -30,
+ ],
+ [
+ -17, 51, -77, -44, 16, -8, -7, 20,
+ -22, -18, -19, -22, -16, -5, 22, -4,
+ -9, 12, -31, -16, 19, 7, 61, 67,
+ -6, -16, -20, 6, 0, 4, 15, 24,
+ -19, -33, -8, -3, 2, -7, 22, 17,
+ -36, -9, -16, -0, 7, 1, 15, 30,
+ -24, -17, -2, 10, 8, 15, 31, 63,
+ -4, 11, 13, 8, 18, 14, 32, -107,
+ ],
+ [
+ 35, 85, -4, 0, 10, -24, -57, 46,
+ -15, 59, 65, -11, 32, -23, -42, -14,
+ 19, 23, 92, 60, -54, 35, -25, -42,
+ -6, -7, 37, 24, -29, 5, 14, -9,
+ 42, -52, -37, -0, -14, 3, -45, -26,
+ -45, 25, 7, -7, -13, 42, -49, -32,
+ -15, -36, -5, -6, -1, -5, -22, -37,
+ -4, -5, 12, 12, 22, -6, 17, -2,
+ ],
+ [
+ 83, -91, 58, 58, 6, -6, -15, -59,
+ 36, -2, 29, 41, 72, -2, -45, 4,
+ 6, 72, 78, 23, 7, 25, -19, -16,
+ 12, 45, 54, 17, 27, 11, -4, 7,
+ -19, -57, 8, 37, -21, -57, -56, 15,
+ 6, -24, -81, -56, -34, 6, -38, -45,
+ -14, -9, -50, 26, 14, -22, -6, -26,
+ -24, 2, 10, -3, 9, -12, 12, -3,
+ ],
+ [
+ 52, -70, 3, -13, -39, 39, 115, -36,
+ 3, 35, -35, 35, -53, -40, 11, 15,
+ 72, 29, -5, 11, 26, 49, 21, -13,
+ 39, 12, -17, 10, 21, 36, 16, 15,
+ -23, 22, -28, 31, -76, -2, -10, -24,
+ -25, 2, -22, 27, -15, -22, -14, -34,
+ -35, -54, 10, -56, -20, 2, -0, -20,
+ -20, 9, 9, -2, 14, 7, 20, 2,
+ ],
+ [
+ -35, -53, -9, -59, 71, 76, -16, -19,
+ 23, -5, -28, 33, 24, -6, 14, 22,
+ -18, -4, -6, -32, 28, 55, -1, 13,
+ 13, -18, -3, -28, 28, 54, -1, -12,
+ -39, -1, -24, -9, 59, 16, -6, -5,
+ -11, -9, -9, -8, 36, -28, -41, -20,
+ -15, -18, 8, -15, 17, 18, -2, -13,
+ -19, -2, 18, 4, 27, -9, 13, -9,
+ ],
+ [
+ -1, 17, -45, -12, 11, -48, -87, 1,
+ -16, -22, 1, 44, 32, 56, 45, 63,
+ -21, -6, 20, -11, 46, 4, -9, 39,
+ -27, 27, -26, 6, 5, 1, -1, 19,
+ -44, -11, -2, -21, 16, -4, 26, -1,
+ -15, -6, -38, -17, -9, 31, -16, 19,
+ -50, -14, 10, -2, 21, -73, 15, 27,
+ -13, 9, 9, 13, 13, -10, 22, 9,
+ ],
+ [
+ -42, -10, -12, 23, 45, 35, 74, 21,
+ -24, -18, 31, 24, 19, 72, 31, 31,
+ -14, -3, -1, 6, 21, 71, 41, 28,
+ -30, -6, 1, 23, 16, 22, 51, 19,
+ -28, -38, -15, 8, -25, -8, -12, -7,
+ -54, -24, -23, 1, 5, -21, -7, -20,
+ -34, -20, -17, -23, 5, 11, -86, -9,
+ -28, -11, -2, -8, 1, -11, -41, -3,
+ ],
+ [
+ -34, 15, -11, 31, -0, 83, 44, 53,
+ -27, -18, -22, -9, 18, 89, 53, 92,
+ -20, -1, -12, -6, 27, 24, 88, 101,
+ -34, 7, -31, 8, 14, 21, 17, -5,
+ -55, -26, -20, -30, -20, -21, 11, -1,
+ -44, -35, -29, -12, -5, -9, 1, 1,
+ -33, -26, -27, -18, -5, 5, 11, -81,
+ -30, -14, -12, -7, -2, -11, 16, -26,
+ ],
+ [
+ -106, 31, 77, 22, -34, 60, 7, 27,
+ -0, 90, 116, -8, 35, 129, 33, 31,
+ -50, 59, 31, 86, 33, 135, 71, -6,
+ -94, 93, 112, 47, -111, -72, 64, -118,
+ -67, -12, 44, 13, 0, -36, -22, -105,
+ 26, -82, -47, -85, 19, -33, 43, -76,
+ -22, 40, 19, -20, -90, -84, 64, -61,
+ -103, 68, 16, -32, -41, -8, -57, -56,
+ ],
+ [
+ 55, 7, 75, -2, 30, 17, 84, 56,
+ 94, 77, 72, 64, 66, 67, 60, 3,
+ 71, 82, 92, -22, 17, 16, 32, 21,
+ 4, -44, -56, 1, -16, 7, -24, 32,
+ -41, 3, 22, -64, -41, -3, -1, -49,
+ -84, 16, 36, 3, -18, 26, 62, 102,
+ 15, 11, -0, -36, -49, -30, -72, -7,
+ -179, -86, -130, -97, -58, -5, -120, -165,
+ ],
+ [
+ -12, -10, 71, 29, 67, 86, 52, 77,
+ 59, -5, 75, 20, 70, 76, 71, -34,
+ 50, 12, -34, 94, 5, -19, 31, 25,
+ -10, 41, -32, -44, -27, 61, 20, 51,
+ 45, 13, -9, 2, -26, 54, 28, -7,
+ -72, -107, -5, -9, -2, -0, 28, -33,
+ 43, 58, 46, -4, -10, -5, -40, -15,
+ -280, -164, -120, -80, -87, -32, -8, -120,
+ ],
+ [
+ 100, 75, -10, -7, -19, 10, 8, 63,
+ 46, 28, -0, 27, 81, -106, 36, 12,
+ -47, -56, 37, -18, 14, 9, 27, -7,
+ 42, 35, 39, -34, 67, 26, 35, 72,
+ -25, 17, 49, -22, 58, 7, 64, 3,
+ 27, 19, 57, 21, -56, -53, 29, -37,
+ -5, -51, -74, 26, -25, 38, 47, 13,
+ -262, -96, -60, -50, -121, -9, -27, -91,
+ ],
+ [
+ 54, 17, -2, 54, 5, -14, 69, 77,
+ 36, 59, 119, 67, 8, 22, -38, 10,
+ -36, 30, -23, 19, 8, 89, 61, -42,
+ 3, -51, 15, -28, -34, 34, -26, 30,
+ 10, 44, 28, 19, 69, -85, 106, -5,
+ -9, -34, 16, -69, 40, 37, 34, 30,
+ -32, -6, 4, -51, -27, 9, -75, -78,
+ -132, -6, -74, -144, -62, -59, -58, -32,
+ ],
+ [
+ 46, 36, 8, -29, 10, -16, -62, 65,
+ -26, 67, -40, 39, 68, -30, 60, 36,
+ -30, 9, 27, -15, -13, -9, 65, 66,
+ -28, -39, 17, -4, 33, 26, -28, 78,
+ -32, -53, -7, 36, 65, -31, 44, -17,
+ 23, 6, 17, -34, -1, 9, -17, -10,
+ 9, -5, -27, -61, 34, -1, 9, 21,
+ -74, -88, -40, -29, -67, -58, 17, -23,
+ ],
+ [
+ 54, 2, -23, -56, 40, 47, -7, 43,
+ -11, 13, 9, 120, 35, -17, 97, -65,
+ -13, 16, 71, 59, 9, 38, 97, 28,
+ -10, -8, 9, 46, 62, 50, 56, -5,
+ 14, 8, -41, 35, 45, -8, -9, 2,
+ -65, -19, -45, 13, 50, 20, 60, -10,
+ -63, -2, -64, 42, -42, 10, -16, -47,
+ -187, -116, -46, -34, -47, -94, -38, -89,
+ ],
+ [
+ 24, 18, -2, 73, 29, -45, 29, -6,
+ 6, 109, 30, 50, 84, 64, 113, 19,
+ 21, -4, 126, 25, 23, 67, 68, -3,
+ 27, -28, 16, -5, -12, 63, 33, 6,
+ 7, -54, -32, -111, 27, 124, 9, -8,
+ 15, -16, -41, 9, -71, -55, 52, -61,
+ -49, -98, 13, -10, -12, -27, -29, 53,
+ -245, -103, -90, -18, -105, -12, 7, -89,
],
];
internal static readonly short[][] EndGameRookTable =
[
[
- 24, 52, 5, -1, 33, 9, 11, 16,
- -30, -38, -2, 7, 4, -30, 9, 8,
- 10, -9, 3, -0, -8, -5, -6, 0,
- -13, -18, -22, -8, -8, -21, 12, -10,
- -4, -18, 35, 16, 16, -15, 8, 15,
- -10, -2, -6, -11, -13, 9, 9, 42,
- -42, 25, 14, 10, 8, -13, 26, 18,
- -31, -5, -11, -17, -24, -30, 7, 21,
- ],
- [
- 7, 46, 33, 24, 24, 45, 13, 25,
- -24, 3, 24, 12, 20, -1, 32, 1,
- -26, 34, 11, -18, -26, 5, -25, 5,
- 2, -18, 24, -12, -8, -19, -21, -7,
- -3, -16, 12, 10, 6, -10, -20, -22,
- -10, 14, 14, 9, -23, -1, -4, -19,
- -23, 0, 9, 6, -3, -10, 13, -13,
- -74, -104, 34, 16, 2, -2, 4, 23,
- ],
- [
- 6, 24, 41, 30, 14, -3, 19, 26,
- 25, 3, 18, 46, 28, -1, 50, 34,
- -7, -10, 0, -3, -12, -23, -3, -2,
- -7, 7, 20, -2, -7, 6, -8, -16,
- 28, -19, -2, -6, 2, 1, -7, -19,
- -0, 3, 5, -12, 7, 5, -19, 8,
- -3, -52, -8, -14, -10, 4, 1, -9,
- -31, -49, -144, 10, -1, -9, 18, 31,
- ],
- [
- 17, 35, 20, 24, 43, 34, 39, 30,
- 0, 17, -13, 2, 24, 16, 15, 29,
- -24, 6, 13, -18, 3, 1, -2, 12,
- -17, -18, -18, 34, 12, -26, -10, 6,
- -6, 12, 14, 10, 0, -7, -5, 4,
- -13, 13, 6, 25, -10, -26, 4, -7,
- -0, -4, -37, 27, -24, -24, 3, -28,
- -27, -17, -35, -73, -20, -14, -34, 4,
- ],
- [
- 25, 22, 13, 18, 12, 28, -1, 18,
- 15, 34, 32, 52, 29, 29, 19, -7,
- 18, 2, 17, -7, 7, 2, 8, -6,
- 4, -14, 20, 26, -1, -14, -15, 7,
- 22, -8, 10, 23, 22, -21, -5, -21,
- 11, 1, 14, 2, 1, -8, -19, -9,
- -20, 2, -7, -33, -21, -3, -36, -32,
- -2, -17, -2, -29, -112, -42, -23, -30,
- ],
- [
- 32, 17, 24, 7, 20, 41, 33, 15,
- 17, 25, 15, 22, 12, -4, -1, -11,
- 3, 7, 22, 4, -5, 20, -4, 7,
- 10, -7, 11, -0, 10, -7, 1, -4,
- 14, 17, -12, 5, 2, -4, 14, 4,
- -4, -3, 10, -3, 1, 1, -27, -12,
- -5, 14, -6, -17, -19, -9, -45, -23,
- -2, 2, 5, 3, -3, -131, -50, -46,
- ],
- [
- 27, 24, 28, 24, 11, -5, -7, 8,
- 21, 28, 31, 30, 25, 5, -6, -10,
- 19, 1, 14, 11, 0, -18, -16, -12,
- 11, 13, 15, -4, -2, -5, 3, -4,
- 12, 17, 5, 0, 6, 8, -10, -8,
- 8, 3, 4, 7, -0, -1, -13, -3,
- -1, 9, 1, 1, -3, -11, -30, -19,
- 18, 12, 15, 8, 3, 10, -249, -58,
- ],
- [
- 17, -8, 28, 29, -9, 4, -5, -27,
- 10, 2, 2, 27, 5, 9, -14, 11,
- 2, 1, 13, 3, -6, -2, -20, -53,
- 4, 11, -1, -3, -10, 1, -9, -25,
- -4, 10, -5, -1, -8, 15, 0, 1,
- 25, -10, 2, 10, -5, 7, -23, -26,
- 8, 2, 9, -0, 15, 5, -7, -58,
- 36, 29, 16, 27, 13, 16, 36, -124,
- ],
- [
- -8, -17, 16, 9, 17, -4, 12, -18,
- -4, -10, -9, 10, 5, 9, 23, 10,
- -14, -8, -4, -15, 5, -6, 14, 23,
- 0, 13, 7, 5, 17, 6, -14, 10,
- -26, 31, 24, 15, -7, -3, -1, -12,
- 4, 6, -2, 6, 3, -26, 5, 7,
- -15, 12, 2, 15, -6, -0, -2, 4,
- -24, -17, -9, -13, -20, -27, -13, 5,
- ],
- [
- -5, 33, -0, -8, 23, -5, -0, 31,
- 3, 11, -1, 11, -15, 21, 23, -1,
- 12, -14, -20, -3, 5, 21, 16, 12,
- 0, -15, -9, -1, -4, 1, 8, -11,
- 6, 29, 1, -11, 6, 17, 14, 0,
- -9, 10, 18, 9, 1, -14, -20, 4,
- -17, -7, 13, -15, -14, -4, -16, -12,
- -8, -17, -24, -9, -18, -26, -17, 11,
- ],
- [
- 3, 29, 17, 2, 18, -19, -40, 20,
- 10, 10, 23, -6, 34, 23, 9, 6,
- -6, 0, 12, 1, -6, -10, 1, 12,
- -3, 3, 11, 11, -12, -7, 4, 6,
- 12, -8, 7, -5, 30, -1, 1, -0,
- 0, -2, 4, -16, 3, 4, -14, -6,
- -6, -1, -18, 16, -0, -20, -22, -6,
- -11, -7, -10, -13, -23, -30, -13, -1,
- ],
- [
- 26, 28, 15, 21, -14, -19, -2, 18,
- 10, 21, 29, -1, 3, 12, 14, -1,
- 22, 15, 13, 13, -9, -14, 8, 2,
- 5, 18, 14, 9, 3, -25, 8, 2,
- 16, 2, 10, -2, -9, -3, 8, -11,
- -1, -1, -3, -12, -16, 3, -7, -10,
- -17, -7, -14, -3, -8, -9, -19, -12,
- -11, -9, -14, -18, -41, -30, -8, 9,
+ 24, 50, 4, -1, 33, 9, 10, 15,
+ -30, -37, -1, 7, 5, -29, 9, 9,
+ 10, -8, 3, -0, -7, -5, -6, -0,
+ -12, -17, -21, -9, -8, -20, 13, -10,
+ -3, -20, 35, 16, 16, -15, 10, 16,
+ -11, -1, -6, -12, -13, 9, 8, 42,
+ -44, 25, 15, 10, 9, -14, 26, 18,
+ -32, -5, -11, -18, -25, -31, 7, 20,
+ ],
+ [
+ 7, 46, 32, 24, 24, 45, 13, 24,
+ -24, 3, 24, 12, 19, -1, 32, 0,
+ -26, 35, 11, -19, -26, 5, -25, 5,
+ 2, -17, 26, -11, -7, -19, -20, -6,
+ -3, -17, 12, 11, 5, -10, -19, -22,
+ -9, 15, 15, 10, -23, -1, -3, -19,
+ -25, -0, 8, 5, -3, -10, 13, -13,
+ -74, -104, 33, 15, 1, -3, 4, 24,
+ ],
+ [
+ 6, 22, 38, 29, 11, -5, 19, 24,
+ 24, 2, 16, 44, 26, -2, 50, 33,
+ -9, -10, -0, -3, -12, -22, -2, -3,
+ -7, 9, 21, 1, -5, 9, -5, -16,
+ 28, -16, 0, -3, 3, 3, -4, -17,
+ 3, 10, 8, -6, 8, 8, -14, 8,
+ -5, -55, -11, -17, -13, 2, -1, -11,
+ -34, -51, -147, 8, -4, -12, 16, 29,
+ ],
+ [
+ 17, 35, 20, 25, 45, 33, 38, 28,
+ 1, 17, -13, 2, 22, 17, 15, 29,
+ -24, 6, 13, -17, 4, 1, -3, 11,
+ -16, -17, -16, 35, 12, -25, -9, 7,
+ -5, 12, 15, 10, 1, -6, -5, 4,
+ -12, 15, 8, 24, -9, -26, 5, -7,
+ -1, -5, -39, 26, -25, -24, 2, -29,
+ -27, -19, -36, -73, -21, -15, -34, 4,
+ ],
+ [
+ 24, 22, 12, 16, 9, 27, -2, 18,
+ 15, 34, 33, 51, 28, 28, 19, -8,
+ 18, 2, 16, -8, 7, 3, 8, -6,
+ 4, -13, 23, 28, 2, -12, -13, 7,
+ 22, -7, 11, 26, 24, -19, -4, -20,
+ 11, 3, 15, 3, 3, -6, -15, -8,
+ -22, 1, -8, -35, -24, -7, -38, -33,
+ -2, -18, -3, -30, -114, -45, -24, -30,
+ ],
+ [
+ 30, 17, 23, 6, 20, 40, 32, 15,
+ 16, 25, 14, 21, 12, -4, -2, -11,
+ 3, 7, 23, 5, -4, 21, -3, 7,
+ 10, -7, 12, 1, 10, -5, 2, -3,
+ 14, 18, -12, 6, 2, -2, 16, 5,
+ -5, -4, 10, -3, 3, 2, -26, -11,
+ -6, 13, -6, -18, -20, -10, -46, -24,
+ -3, 1, 5, 2, -4, -132, -51, -47,
+ ],
+ [
+ 27, 24, 28, 24, 10, -7, -8, 7,
+ 21, 28, 31, 30, 25, 5, -7, -10,
+ 19, 1, 15, 12, 0, -17, -16, -13,
+ 11, 15, 15, -3, -2, -4, 4, -4,
+ 13, 18, 6, 1, 7, 10, -9, -8,
+ 9, 4, 4, 7, -0, 0, -12, -2,
+ -2, 8, 0, 0, -4, -12, -34, -22,
+ 18, 12, 15, 8, 2, 9, -251, -58,
+ ],
+ [
+ 16, -6, 28, 28, -9, 4, -6, -27,
+ 10, 2, 2, 27, 5, 8, -13, 10,
+ 2, 2, 14, 4, -6, -3, -20, -54,
+ 4, 11, 0, -2, -9, 2, -10, -26,
+ -3, 11, -4, -0, -8, 16, 1, 0,
+ 25, -9, 2, 11, -5, 8, -22, -27,
+ 8, 2, 9, -1, 15, 4, -8, -60,
+ 36, 29, 16, 28, 13, 16, 37, -126,
+ ],
+ [
+ -9, -16, 16, 9, 16, -4, 12, -18,
+ -4, -10, -9, 11, 5, 9, 22, 10,
+ -15, -8, -4, -16, 6, -5, 15, 23,
+ 0, 13, 7, 6, 18, 7, -13, 10,
+ -26, 31, 24, 15, -7, -2, -1, -12,
+ 4, 6, -2, 6, 4, -26, 4, 7,
+ -15, 13, 2, 15, -6, -1, -2, 3,
+ -24, -17, -9, -13, -21, -28, -13, 6,
+ ],
+ [
+ -4, 33, 1, -7, 23, -4, -0, 32,
+ 3, 11, 1, 12, -14, 21, 23, 0,
+ 12, -14, -19, -4, 5, 21, 16, 12,
+ -0, -15, -10, -3, -6, -0, 6, -11,
+ 5, 27, -0, -13, 5, 15, 14, -0,
+ -10, 10, 17, 9, 0, -15, -22, 4,
+ -15, -6, 14, -13, -13, -3, -14, -11,
+ -7, -16, -24, -8, -18, -26, -16, 13,
+ ],
+ [
+ 3, 30, 17, 3, 18, -19, -40, 20,
+ 10, 11, 23, -5, 35, 24, 10, 6,
+ -6, -0, 13, 2, -5, -10, 2, 12,
+ -3, 3, 10, 11, -13, -8, 3, 6,
+ 11, -9, 6, -6, 28, -1, 1, -1,
+ -0, -4, 3, -18, 3, 4, -16, -7,
+ -6, 0, -17, 17, 0, -19, -21, -5,
+ -10, -8, -10, -12, -23, -30, -12, -1,
+ ],
+ [
+ 27, 29, 16, 21, -14, -19, -1, 19,
+ 11, 21, 29, -0, 5, 13, 15, -0,
+ 22, 16, 13, 13, -9, -14, 8, 2,
+ 5, 16, 13, 8, 2, -27, 7, 2,
+ 16, 2, 9, -3, -11, -5, 5, -12,
+ -1, -2, -4, -11, -17, 2, -10, -10,
+ -15, -6, -13, -2, -7, -7, -18, -10,
+ -10, -9, -13, -17, -41, -30, -7, 10,
],
[
14, 10, 21, 8, 0, 17, 22, 9,
- 20, 25, 19, 2, 1, -1, -1, -7,
- 20, 12, 3, 16, -2, 9, 14, 0,
- 21, -2, 15, 6, 1, 11, 0, -9,
- 17, 5, 1, 3, -8, 1, -21, -10,
- 2, -9, -1, -0, -8, -24, -18, -17,
- 10, -3, -14, -6, -16, 9, -25, -26,
- -11, -19, -15, -15, -24, -18, -13, 2,
- ],
- [
- 29, 16, 9, -4, -12, -16, -25, -8,
- 19, 22, 2, 7, 4, -7, -3, -8,
- 16, 5, 2, 10, -7, -15, -8, -11,
+ 21, 24, 19, 2, 1, 0, -2, -7,
+ 20, 12, 3, 17, -2, 9, 14, 1,
+ 21, -2, 15, 6, 2, 11, 0, -9,
+ 17, 5, 1, 3, -8, 0, -21, -10,
+ 2, -10, -2, -1, -8, -25, -18, -18,
+ 10, -3, -14, -6, -16, 9, -25, -25,
+ -11, -19, -15, -15, -25, -18, -13, 2,
+ ],
+ [
+ 29, 16, 8, -4, -12, -16, -26, -8,
+ 19, 22, 3, 8, 4, -6, -3, -8,
+ 16, 5, 2, 10, -6, -14, -8, -10,
17, 8, -2, -2, -3, 4, -9, -14,
- 14, 11, -2, -6, 9, 7, 3, -2,
- 15, 6, -1, -7, -6, 7, -8, 3,
- 10, -1, -6, -1, -11, -10, 31, -19,
+ 14, 11, -2, -6, 8, 7, 3, -3,
+ 15, 6, -1, -7, -6, 7, -9, 3,
+ 11, -1, -6, -1, -11, -10, 31, -19,
-12, -14, -14, -9, -15, -16, 21, 2,
],
[
- 17, 6, 12, -10, 4, -27, -10, -19,
+ 17, 6, 12, -10, 3, -27, -11, -19,
14, 17, 16, 15, 5, -5, -9, -36,
- 13, 9, 2, 6, -1, -6, -25, -32,
- 16, 0, 9, -4, -9, 1, 4, -6,
- 21, 1, -3, 18, 17, 17, -10, -1,
- 14, -2, -7, 1, -5, 10, 3, 7,
- 12, 8, -2, -6, -5, 2, -1, 23,
- -15, -6, -8, -15, -12, -7, 1, -14,
- ],
- [
- 13, 7, -26, 18, 23, -21, -12, -3,
- -28, -29, -29, 14, -11, -54, -6, -13,
- 8, 0, 17, -17, -8, -31, -28, -6,
- 19, -3, -24, -6, 44, 3, -13, 26,
- 14, 50, 7, 14, -5, 9, 15, 22,
- -20, 25, 15, 26, 14, -5, -11, 14,
- -26, -1, 2, -2, 18, 9, -56, -2,
- 24, -33, 0, 17, 8, -22, 26, 28,
- ],
- [
- -39, -16, -14, 18, -12, -11, -28, 3,
- -32, -4, -31, -13, -20, -11, -24, 11,
- -11, 4, -38, 16, 5, -10, -8, -5,
- 18, 27, 5, 46, -7, -2, 16, -3,
- 11, 16, -22, 26, 19, 15, 18, 30,
- -0, -31, -11, 19, -10, -12, 14, -42,
- 11, -4, -21, 17, 1, -10, 9, -26,
- 28, 5, 46, 32, 7, -35, 15, 58,
- ],
- [
- -13, -6, -9, -16, 2, -47, -27, -7,
- -27, 13, -16, -4, -22, -23, -24, 14,
- -9, -12, -7, -32, 11, 4, -4, 1,
- 19, -7, -4, 13, 23, -32, -18, 7,
- -25, -4, 0, -2, 23, 10, -17, 19,
- 16, 32, -29, 10, -15, 17, -18, 10,
- -8, -22, -6, 18, -9, 12, 17, 20,
- 70, 51, -0, 39, 6, -21, 3, 60,
- ],
- [
- -16, -5, 13, 8, -1, -24, -23, -3,
- -7, 3, 16, 8, -27, 25, -15, 7,
- 27, 11, -18, -11, -25, 13, -3, 2,
- 1, 4, 3, 24, -3, 8, -3, -9,
- -8, -13, -10, -3, -15, 8, 2, 8,
- 11, -22, -11, -23, 18, 17, 3, 31,
- -11, 10, 1, -22, 3, -3, -37, -25,
- 53, 29, 6, -8, 46, -29, -16, 26,
- ],
- [
- 6, 5, 7, -8, -7, -15, -6, -19,
- 8, 2, -27, -25, 16, -10, 3, -8,
- 32, 3, 6, -12, 8, -12, 0, 16,
- 8, 31, 7, -6, -10, -31, 6, -14,
- -4, -15, -4, -17, -25, 27, 0, 17,
- -3, -6, -2, 23, -2, -11, 5, -5,
- -0, -10, -14, 12, -31, -11, 13, 16,
- 18, 3, 10, 34, -10, 10, 11, 13,
- ],
- [
- 11, 17, -5, 12, -14, 22, 36, -39,
- 22, 12, 17, -5, -12, 6, -30, -11,
- 27, 3, -25, 11, -28, 0, -9, -11,
- 1, 5, -6, 7, -26, 10, 20, -8,
- 12, 12, -1, 1, -3, 11, -10, 15,
- -34, -8, -22, 13, 1, -24, 9, -11,
- -1, -3, 7, 14, -3, -6, 2, 3,
- -0, 16, -15, -12, 12, 4, -2, 14,
- ],
- [
- 14, -1, 1, -10, 5, -22, -10, -24,
- 14, -1, 11, -10, 1, 21, -41, 12,
- -0, 7, -17, 2, 7, -10, -23, -12,
- 13, -0, -13, 3, -19, -22, -18, -8,
- 6, 21, 14, 4, -9, 1, 6, -11,
- 23, 12, 19, 10, -33, 20, -36, 15,
- 12, -11, 25, -32, 5, -11, -7, -13,
- 35, 25, 7, -1, -0, 22, -24, 51,
- ],
- [
- 13, -2, 3, -17, -21, 12, -14, -7,
- 23, -16, -12, -30, -32, -10, -29, 8,
- 25, 5, -25, -2, 11, 3, -29, 19,
- 11, 11, 4, -12, 10, 5, -20, -3,
- 0, -0, 13, 22, -15, -16, 6, -28,
- -17, 10, -21, -8, 32, 24, 13, -11,
- 27, 5, -25, -9, -3, 3, -28, -7,
- 48, 21, 0, -7, 17, 9, 23, 43,
+ 14, 9, 2, 6, -1, -5, -25, -31,
+ 17, 0, 9, -4, -9, 1, 4, -6,
+ 21, 1, -3, 18, 16, 16, -10, -1,
+ 13, -2, -7, 1, -6, 9, 2, 5,
+ 13, 8, -2, -6, -4, 3, -1, 24,
+ -15, -6, -8, -15, -12, -8, 2, -14,
+ ],
+ [
+ 15, 7, -25, 19, 25, -20, -11, -2,
+ -27, -31, -30, 15, -10, -53, -6, -11,
+ 10, -1, 15, -19, -9, -33, -29, -6,
+ 17, -5, -26, -9, 43, 2, -15, 26,
+ 14, 49, 5, 12, -7, 8, 14, 21,
+ -18, 26, 16, 25, 13, -5, -12, 14,
+ -24, 1, 4, -0, 19, 10, -56, 1,
+ 25, -33, 1, 18, 9, -20, 28, 28,
+ ],
+ [
+ -38, -16, -14, 18, -12, -12, -29, 4,
+ -33, -6, -31, -14, -20, -10, -24, 9,
+ -10, 3, -38, 15, 5, -10, -9, -3,
+ 18, 28, 4, 45, -9, -1, 16, -2,
+ 11, 17, -22, 26, 18, 14, 18, 31,
+ -1, -29, -10, 19, -11, -12, 13, -43,
+ 11, -4, -20, 17, 0, -11, 8, -26,
+ 29, 5, 47, 32, 7, -36, 16, 59,
+ ],
+ [
+ -12, -6, -10, -17, 2, -47, -27, -7,
+ -27, 14, -15, -4, -23, -23, -22, 14,
+ -9, -12, -7, -33, 10, 0, -5, 1,
+ 19, -8, -4, 11, 22, -35, -22, 7,
+ -23, -4, 1, -2, 23, 7, -20, 19,
+ 18, 33, -26, 10, -13, 17, -18, 10,
+ -8, -21, -6, 19, -8, 13, 18, 22,
+ 69, 51, -0, 39, 9, -20, 4, 63,
+ ],
+ [
+ -15, -6, 13, 9, 1, -23, -23, -3,
+ -7, 2, 16, 7, -27, 23, -16, 8,
+ 26, 10, -19, -13, -26, 10, -7, 2,
+ 1, 1, 1, 23, -5, 5, -7, -9,
+ -7, -15, -10, -1, -14, 5, -1, 6,
+ 13, -21, -10, -22, 18, 16, 4, 32,
+ -9, 13, 2, -18, 5, -2, -36, -24,
+ 55, 29, 7, -8, 48, -27, -13, 30,
+ ],
+ [
+ 6, 5, 6, -10, -7, -16, -8, -19,
+ 9, 4, -27, -25, 16, -11, 2, -6,
+ 32, 3, 5, -14, 5, -12, -1, 16,
+ 8, 31, 6, -7, -10, -33, 5, -13,
+ -4, -16, -5, -18, -24, 28, -1, 15,
+ -3, -6, -3, 22, -2, -10, 5, -5,
+ 1, -8, -13, 14, -31, -9, 15, 19,
+ 20, 1, 11, 33, -8, 10, 12, 17,
+ ],
+ [
+ 12, 17, -5, 12, -14, 22, 37, -38,
+ 22, 12, 17, -5, -11, 4, -31, -11,
+ 28, 3, -25, 9, -27, -2, -11, -11,
+ 0, 2, -8, 4, -29, 10, 15, -8,
+ 12, 10, -0, 0, -3, 11, -10, 15,
+ -33, -9, -23, 16, 1, -24, 10, -10,
+ -1, -2, 8, 18, 0, -4, 3, 5,
+ 4, 14, -16, -14, 13, 6, -2, 16,
+ ],
+ [
+ 15, 0, 2, -9, 5, -20, -10, -23,
+ 13, -1, 11, -9, -1, 21, -42, 12,
+ 1, 7, -17, 1, 5, -12, -24, -11,
+ 14, -1, -12, 2, -21, -24, -17, -8,
+ 6, 21, 13, 4, -8, -1, 6, -11,
+ 23, 12, 19, 10, -32, 21, -36, 16,
+ 14, -12, 26, -29, 4, -11, -5, -12,
+ 36, 24, 7, -1, -0, 22, -24, 52,
+ ],
+ [
+ 13, -1, 3, -17, -21, 11, -14, -7,
+ 23, -15, -12, -29, -33, -10, -29, 7,
+ 25, 6, -25, -2, 10, 3, -29, 18,
+ 11, 11, 4, -12, 10, 5, -20, -4,
+ 1, -0, 12, 23, -15, -16, 6, -27,
+ -18, 10, -21, -8, 31, 24, 14, -10,
+ 27, 5, -24, -10, -3, 4, -26, -6,
+ 48, 20, -2, -8, 17, 7, 21, 44,
],
];
internal static readonly short[][] MiddleGameQueenTable =
[
[
- 63, -12, -46, -85, -56, -4, -78, -27,
- -2, 91, -37, -45, -54, -17, -15, 5,
- 47, 20, 2, -68, -30, 5, 13, 22,
- 25, 38, 50, -3, 46, 13, 11, -7,
- 28, 55, -6, 27, 23, 14, 14, -57,
- 11, 6, 19, 1, 12, 3, 19, -30,
- -34, 6, 7, 15, 0, 10, 3, -25,
- -55, 31, -2, 1, 9, 18, 15, -3,
- ],
- [
- 44, 40, 36, -32, 62, -13, -44, -4,
- -11, 13, 42, -69, -18, -13, -23, 11,
- 15, -24, -36, 4, 7, -2, -4, 3,
- -1, -13, 3, -0, 13, 21, -11, 16,
- 19, 7, 6, -7, 4, 2, 30, -13,
- -1, 12, -1, 12, 11, 4, 12, 0,
- -60, -4, 17, 25, 16, 8, 22, 8,
- -35, -194, 19, 7, 16, 8, 25, 17,
- ],
- [
- -54, 9, -63, -3, -23, -49, -105, -9,
- -5, -22, -16, -39, -14, 18, -3, 29,
- -21, 24, -33, 36, -3, -1, 19, 31,
- 8, -10, -12, 6, 9, 26, 18, 13,
- 11, 3, 14, 15, 14, -1, 16, 19,
- 27, 14, 16, 17, 26, 13, 21, 11,
- -8, 25, 30, 28, 21, 12, 24, 7,
- -2, 4, -214, 11, 16, -3, 35, 16,
- ],
- [
- -76, -7, -4, 53, -21, -10, -87, -44,
- 4, -48, 21, 7, 23, -41, -41, 15,
- 14, -20, -74, -11, -2, -18, 29, 3,
- 30, 3, -16, -6, 10, 32, 52, 16,
- -28, 33, 18, 7, 38, 31, 51, 18,
- 2, -20, 24, 3, 17, 18, 6, -7,
- -21, 4, -10, 5, 9, 6, 46, 5,
- -12, 10, 10, -66, -2, 14, 20, -12,
- ],
- [
- -58, -129, -88, 65, -77, 2, -57, -53,
- 7, -30, -29, -66, -31, -10, -40, 13,
- 17, -24, -19, -1, -46, -13, -1, 3,
- 22, 12, 12, -5, -12, 0, 5, 2,
- 25, 12, 12, -6, -13, 8, 17, 39,
- 29, 30, 28, 13, 23, 34, 23, 32,
- 37, 50, 36, 35, 30, 22, 44, 15,
- 43, 37, 28, 23, -169, 13, 41, 37,
- ],
- [
- -70, -18, 12, -16, 39, 10, -33, -58,
- 10, -3, -3, -23, -10, -34, 17, -9,
- 9, -7, -7, 13, 13, 14, 16, 13,
- -14, -26, -24, 20, 11, 28, 19, 18,
- 5, -20, 11, 0, 22, 12, 1, 17,
- -21, 13, 32, 7, -3, 36, 20, 32,
- 12, 6, -5, -3, 9, 30, -7, -14,
- -7, 14, 3, 5, 8, -128, -2, 7,
- ],
- [
- -17, 8, 44, 56, 15, 7, 40, -47,
- -2, -7, 19, -16, -21, -22, -9, 39,
- 12, -5, -6, -2, -18, -8, -14, -9,
- 7, 9, -3, -1, -2, 9, -1, 8,
- 7, 7, 10, -10, 0, -2, 11, 15,
- 14, 11, 8, 3, 8, 19, 18, 14,
- 18, 17, 7, 9, 11, 21, 3, -41,
- 10, 13, 10, 8, 16, 5, -276, -26,
- ],
- [
- -11, -67, -26, -10, -42, 11, -6, 66,
- 6, 2, 31, 10, -16, -7, 3, 84,
- -2, -3, 19, -14, -7, 2, 46, -3,
- -23, 1, -21, -1, -4, 38, 30, 17,
- -13, -9, -7, -20, 27, -16, 35, 21,
- -18, -10, 10, 6, -8, 20, 13, 18,
- -0, 12, -3, -11, 2, 0, 25, 9,
- 4, -4, 2, -3, 4, 4, 25, -220,
- ],
- [
- 29, -4, 30, 52, -10, -0, 62, -105,
- 4, -130, -41, -47, 4, -16, 23, 39,
- 3, 36, 41, 36, 42, -39, -9, -81,
- 29, -40, -13, -32, 17, -40, 25, -10,
- 43, 32, 23, 33, -14, 6, -5, 48,
- 22, -8, 14, -23, 4, -15, 6, -42,
- -37, -60, 29, 27, 4, -15, 3, 62,
- 20, -25, 84, -4, -11, -30, -16, -10,
- ],
- [
- -115, -31, 15, -76, 43, 34, 60, 58,
- 14, -15, 13, 6, -23, 18, 34, 7,
- 56, 25, 26, -1, -65, -126, 19, -23,
- 3, -4, 6, 24, 54, 2, -27, 32,
- -22, 4, 0, 24, 12, -17, -40, -57,
- 26, -20, -27, 11, 40, 23, -69, -23,
- 38, -48, 23, 3, 3, -0, 20, -3,
- 49, -28, -13, 10, -35, 30, 39, 0,
- ],
- [
- -61, -48, -8, -79, -44, 34, -75, -23,
- -3, -28, -71, -37, -23, 18, -15, 47,
- 3, -45, 27, 13, 32, -4, -41, 58,
- -15, 38, 8, -4, 34, -13, -1, 9,
- -13, 45, 11, 79, 24, 18, 20, -7,
- 34, 15, 31, 10, 38, -17, 35, 12,
- -40, -4, -6, -9, -4, -3, -5, 63,
- -53, 2, -19, -22, 21, 15, 18, 30,
- ],
- [
- -24, -21, -18, -43, -20, -59, 88, 10,
- 24, -14, -33, 10, -84, -53, 24, 45,
- 13, 9, 31, -28, -83, 47, 40, 67,
- -21, -23, -18, 9, -1, 15, 22, 21,
- -4, -1, 16, 3, 2, 25, 10, -14,
- -28, 1, -20, 16, 25, 16, 11, 32,
- 5, -39, -0, -4, -63, 43, 9, 27,
- -33, -5, -20, -12, 9, -23, 70, 11,
- ],
- [
- -106, 16, -64, 52, -14, 17, 68, -4,
- -22, -12, -27, -23, 40, -29, -5, 25,
- -45, -2, 41, 17, 64, 61, 26, 37,
- -37, -11, 50, 1, 13, -40, 34, 15,
- -23, -19, -1, 21, 28, 12, 44, -22,
- -58, -8, 7, 13, 26, 21, 14, -3,
- -4, -9, -3, 10, -19, -97, -11, 11,
- -30, 8, -8, -5, 3, -54, 40, -24,
- ],
- [
- 17, 2, 114, 77, 57, -52, 3, -18,
- -32, -13, 37, 31, 44, 12, -5, 60,
- -18, -15, 7, -10, 12, 50, 0, 21,
- -46, 7, 12, 10, 23, 21, 10, 11,
- -5, -3, -8, -23, 6, 18, -14, -43,
- -20, -14, -11, -7, -16, 21, 13, -30,
- -8, -15, -12, -16, -4, -4, -41, -34,
- -23, -4, -31, -13, -13, -15, -63, -0,
- ],
- [
- -2, 40, 3, 47, -14, 67, 122, 36,
- -10, -29, 4, -11, 55, 97, 50, 87,
- 2, -21, 2, 20, 6, 50, 14, 18,
- -31, -36, -27, -20, 31, -1, 23, 4,
- -32, -40, -7, -28, -14, -5, 16, 14,
- -21, -27, -18, -20, -15, 3, 16, -20,
- -41, -13, -26, -21, -17, -0, -17, -86,
- -15, -24, -28, -14, -23, -24, 5, -34,
- ],
- [
- -46, 1, 19, 2, -46, -14, 1, -72,
- 3, 31, 3, -82, -13, -29, -20, -28,
- 12, 13, 58, 24, 25, -5, -72, 0,
- 29, 18, 62, 73, 53, -5, -71, 4,
- -12, 97, 6, 89, 6, -42, -20, -56,
- -53, 11, 9, 33, -43, 23, -0, -45,
- -48, -13, 54, 87, 97, -37, 26, -26,
- -26, -88, 50, 14, 3, -31, 7, -4,
- ],
- [
- 48, -37, 11, 0, -25, -13, -31, -12,
- 16, -9, 3, -14, -2, -3, 17, -4,
- 4, 8, 36, 34, 16, 77, -31, -10,
- 17, 2, 53, 45, -46, 4, -6, -51,
- -10, 40, -40, 57, 79, -18, 54, 35,
- -3, 21, -7, -13, 41, -19, -45, 15,
- 4, -37, 29, 6, -52, 11, 0, -17,
- 11, -37, -22, -86, -36, -36, -9, -11,
- ],
- [
- -11, -85, -42, 27, -18, -109, 18, 6,
- 46, -7, 21, -31, 28, 46, -2, -72,
- 5, 19, 22, 29, -3, 5, 52, 37,
- -7, 13, 36, 36, 38, 1, -2, 0,
- 61, -4, 51, 42, -29, 29, -12, 62,
- 14, -31, 18, 10, -1, 4, -18, -33,
- 8, -20, -80, -74, -25, 10, 22, 21,
- -2, 26, -15, -41, -32, -9, -25, -24,
- ],
- [
- -13, -45, -50, 36, 25, -38, 18, -23,
- 6, -14, 17, 37, 16, -22, 40, 2,
- 20, 32, 50, -20, 4, -30, 2, -11,
- 76, 17, -1, 2, -10, 26, -5, 2,
- -5, 9, -29, -25, 1, 36, 44, -19,
- 10, 33, -20, 27, -106, -69, 30, 13,
- -7, -46, -5, 25, -20, 31, 25, -60,
- 20, 16, 70, -122, 22, 15, -41, -3,
- ],
- [
- -36, 2, 38, -10, -27, -30, -62, 11,
- 1, -33, -6, 81, 9, 40, -15, -36,
- -1, 59, -48, 6, -14, 20, 6, 34,
- -16, 8, 28, 16, 19, 14, -3, 40,
- 15, -11, 49, 25, -23, 6, 34, -29,
- -33, -34, 4, -7, -20, 3, 45, 58,
- -2, -36, 13, -58, -58, 18, -31, 26,
- -28, 21, 3, -41, -28, -10, 6, 30,
- ],
- [
- -113, -61, -38, -14, 41, -27, -31, -47,
- -68, 54, 1, 41, 1, 53, 48, -32,
- 5, -23, 44, -22, 4, 11, -60, 27,
- 48, 43, -8, 18, 7, 28, -14, 14,
- -10, 26, -35, 3, 10, 57, -77, -9,
- 3, 13, 8, 36, 24, -14, 18, -2,
- 44, 37, -12, -10, 11, -16, 9, 7,
- -20, -46, -55, -17, 7, 6, 47, 27,
- ],
- [
- -9, -23, 25, 36, -27, 29, -32, 50,
- -29, -68, -24, 10, 6, 66, -30, -14,
- 13, 5, 43, -7, 14, 88, -15, -8,
- -4, 40, 49, 66, -4, -10, 35, 11,
- -51, 5, 12, -20, -15, 76, -54, -10,
- -8, -35, -8, -29, -14, 8, 23, 20,
- 11, -3, -23, -35, 23, 3, 10, -6,
- -41, -36, -2, -79, -12, 10, -18, 12,
- ],
- [
- 54, -34, -3, 36, 49, 9, 65, -76,
- -41, 37, -24, 41, -13, -11, 16, -18,
- -16, 46, 66, -1, 32, -1, 43, 40,
- -8, -20, 12, -14, 63, -13, 5, 35,
- -25, 14, -19, -10, 87, -36, 2, 9,
- -20, -69, 8, -1, 84, -61, 25, -23,
- 17, -26, 12, -53, -11, -8, 3, 9,
- -74, -24, -44, -122, -2, 33, 7, -35,
+ 62, -12, -44, -86, -57, -4, -77, -29,
+ -3, 90, -39, -46, -56, -17, -15, 6,
+ 46, 21, 2, -67, -30, 5, 14, 19,
+ 24, 41, 50, -2, 46, 13, 12, -7,
+ 27, 57, -4, 29, 23, 16, 15, -57,
+ 14, 7, 22, 1, 12, 4, 21, -30,
+ -35, 5, 6, 15, -2, 9, 2, -26,
+ -55, 32, -2, -0, 8, 17, 15, -4,
+ ],
+ [
+ 46, 40, 37, -32, 62, -11, -42, -4,
+ -11, 13, 42, -69, -17, -12, -23, 11,
+ 16, -25, -37, 4, 6, -3, -4, 4,
+ -0, -14, 2, -2, 11, 19, -12, 16,
+ 19, 5, 4, -8, 3, 1, 29, -13,
+ -1, 11, -3, 10, 10, 3, 10, 0,
+ -60, -4, 18, 26, 16, 8, 22, 9,
+ -35, -193, 20, 8, 16, 8, 26, 18,
+ ],
+ [
+ -54, 9, -63, -2, -23, -49, -105, -9,
+ -4, -22, -16, -39, -13, 19, -3, 30,
+ -19, 25, -33, 36, -3, -1, 18, 32,
+ 8, -11, -11, 5, 9, 24, 16, 13,
+ 11, 2, 13, 15, 13, -2, 15, 19,
+ 25, 11, 14, 15, 24, 11, 19, 11,
+ -7, 27, 31, 30, 22, 13, 25, 8,
+ -2, 5, -213, 11, 17, -2, 37, 17,
+ ],
+ [
+ -78, -11, -6, 53, -23, -10, -89, -47,
+ 2, -52, 21, 6, 20, -44, -45, 12,
+ 12, -20, -76, -10, -4, -19, 30, 0,
+ 28, 3, -15, -4, 12, 33, 52, 13,
+ -28, 34, 22, 8, 42, 34, 53, 19,
+ 8, -9, 35, 9, 22, 26, 19, -3,
+ -22, 2, -12, 4, 7, 3, 42, 2,
+ -15, 6, 7, -65, -4, 11, 17, -16,
+ ],
+ [
+ -58, -131, -91, 66, -76, 2, -57, -54,
+ 7, -29, -28, -66, -30, -9, -40, 13,
+ 17, -24, -19, 0, -46, -15, -0, 3,
+ 22, 11, 12, -6, -13, -1, 4, 2,
+ 25, 11, 11, -7, -13, 7, 17, 40,
+ 29, 29, 27, 11, 22, 33, 21, 32,
+ 38, 51, 37, 37, 30, 22, 44, 16,
+ 44, 38, 30, 23, -166, 13, 42, 37,
+ ],
+ [
+ -70, -18, 10, -16, 39, 10, -33, -60,
+ 8, -3, -3, -23, -10, -35, 16, -10,
+ 8, -6, -6, 13, 12, 15, 14, 12,
+ -15, -25, -22, 20, 10, 28, 20, 17,
+ 4, -19, 13, 2, 23, 12, 2, 17,
+ -19, 17, 35, 7, 0, 40, 24, 36,
+ 12, 5, -5, -3, 7, 30, -10, -16,
+ -8, 13, 3, 3, 7, -128, -4, 4,
+ ],
+ [
+ -17, 8, 44, 56, 15, 7, 41, -47,
+ -1, -7, 19, -16, -20, -22, -9, 39,
+ 12, -5, -6, -2, -19, -9, -14, -9,
+ 7, 8, -2, -2, -3, 9, -1, 8,
+ 6, 6, 9, -10, 0, -2, 10, 16,
+ 14, 10, 7, 3, 7, 18, 17, 14,
+ 19, 18, 8, 10, 11, 21, 4, -41,
+ 10, 13, 11, 7, 16, 6, -276, -26,
+ ],
+ [
+ -12, -67, -27, -9, -42, 10, -7, 65,
+ 6, 1, 31, 9, -16, -7, 3, 84,
+ -3, -3, 18, -14, -7, 2, 46, -4,
+ -23, 1, -20, -1, -5, 38, 30, 17,
+ -14, -9, -7, -20, 27, -16, 36, 21,
+ -17, -9, 11, 6, -8, 22, 14, 20,
+ 0, 12, -3, -10, 2, -0, 25, 9,
+ 5, -3, 2, -3, 4, 4, 26, -221,
+ ],
+ [
+ 28, -5, 30, 49, -11, -2, 60, -106,
+ 3, -129, -41, -47, 3, -16, 23, 40,
+ 3, 38, 42, 36, 42, -38, -6, -83,
+ 27, -38, -11, -30, 17, -40, 25, -10,
+ 44, 32, 24, 34, -14, 7, -4, 48,
+ 23, -7, 13, -22, 3, -15, 7, -42,
+ -37, -59, 29, 28, 4, -16, 3, 61,
+ 18, -24, 83, -5, -11, -31, -15, -10,
+ ],
+ [
+ -116, -33, 17, -77, 43, 33, 59, 59,
+ 11, -15, 15, 6, -23, 14, 32, 9,
+ 52, 24, 28, 2, -65, -123, 17, -24,
+ 4, -4, 7, 27, 59, 4, -24, 29,
+ -24, 6, 4, 28, 16, -11, -39, -54,
+ 27, -18, -22, 8, 41, 25, -62, -22,
+ 36, -48, 21, 2, 1, -4, 17, -6,
+ 47, -30, -17, 5, -36, 27, 37, -3,
+ ],
+ [
+ -62, -47, -8, -79, -47, 35, -74, -22,
+ -3, -28, -71, -39, -25, 18, -15, 45,
+ 4, -46, 28, 13, 34, -3, -41, 54,
+ -15, 39, 11, -4, 34, -12, 0, 9,
+ -14, 44, 12, 80, 25, 18, 20, -7,
+ 35, 15, 32, 12, 39, -16, 37, 13,
+ -41, -4, -6, -8, -6, -4, -5, 61,
+ -53, -0, -22, -24, 19, 15, 18, 28,
+ ],
+ [
+ -24, -17, -16, -44, -20, -56, 87, 10,
+ 26, -11, -30, 11, -85, -52, 26, 44,
+ 16, 9, 30, -27, -82, 45, 42, 66,
+ -18, -24, -19, 8, -2, 12, 20, 22,
+ -3, -1, 13, 1, 1, 21, 8, -13,
+ -31, -3, -22, 15, 21, 12, 5, 31,
+ 7, -35, 2, -2, -59, 43, 10, 28,
+ -32, -3, -19, -12, 9, -21, 71, 12,
+ ],
+ [
+ -107, 17, -64, 53, -15, 18, 69, -3,
+ -21, -11, -27, -22, 41, -28, -3, 26,
+ -45, -3, 41, 17, 65, 62, 28, 37,
+ -38, -13, 51, 0, 12, -41, 33, 15,
+ -23, -19, -2, 22, 27, 11, 44, -22,
+ -58, -8, 7, 13, 25, 21, 14, -3,
+ -5, -8, -3, 11, -19, -98, -11, 12,
+ -30, 8, -7, -6, 2, -55, 41, -24,
+ ],
+ [
+ 16, 1, 113, 78, 56, -52, 3, -18,
+ -33, -14, 36, 30, 44, 12, -3, 60,
+ -18, -15, 7, -10, 12, 51, 0, 21,
+ -47, 8, 14, 11, 24, 22, 10, 9,
+ -7, -3, -6, -21, 7, 22, -13, -39,
+ -19, -13, -10, -7, -14, 20, 15, -32,
+ -8, -15, -13, -16, -5, -5, -42, -35,
+ -25, -5, -32, -15, -14, -16, -63, -1,
+ ],
+ [
+ -2, 39, 3, 46, -15, 67, 120, 37,
+ -11, -30, 3, -11, 55, 97, 49, 87,
+ 2, -21, 2, 21, 6, 50, 14, 17,
+ -32, -35, -25, -19, 32, -1, 25, 3,
+ -33, -39, -6, -27, -14, -3, 19, 15,
+ -20, -25, -18, -20, -13, 5, 17, -17,
+ -42, -14, -27, -21, -18, -2, -18, -84,
+ -17, -25, -29, -16, -24, -25, 4, -35,
+ ],
+ [
+ -47, -1, 17, 1, -48, -15, 2, -73,
+ 1, 30, 1, -82, -16, -32, -19, -29,
+ 13, 14, 59, 23, 29, -4, -74, 2,
+ 28, 22, 62, 78, 56, -3, -64, 5,
+ -11, 97, 11, 94, 8, -40, -18, -55,
+ -53, 16, 11, 36, -41, 24, 7, -42,
+ -48, -14, 54, 84, 86, -40, 24, -31,
+ -26, -90, 48, 9, 1, -34, 3, -2,
+ ],
+ [
+ 51, -37, 15, 0, -25, -14, -31, -10,
+ 16, -11, 1, -14, -3, -4, 16, -5,
+ 4, 5, 37, 33, 13, 76, -31, -6,
+ 17, 0, 54, 41, -47, -0, -7, -47,
+ -12, 41, -39, 59, 80, -24, 50, 34,
+ -3, 7, -7, -11, 41, -22, -45, 14,
+ 4, -37, 33, 9, -50, 16, 3, -16,
+ 18, -36, -19, -82, -34, -36, -10, -14,
+ ],
+ [
+ -11, -83, -40, 28, -17, -109, 19, 7,
+ 44, -3, 23, -33, 27, 45, -3, -73,
+ 6, 20, 26, 30, -4, 5, 46, 35,
+ -6, 14, 33, 35, 40, 2, -4, -1,
+ 63, -4, 51, 44, -26, 28, -12, 62,
+ 10, -32, 15, 12, 1, 2, -19, -35,
+ 9, -18, -78, -77, -25, 11, 23, 20,
+ -2, 26, -17, -48, -34, -5, -27, -18,
+ ],
+ [
+ -15, -47, -48, 36, 21, -36, 22, -23,
+ 8, -13, 19, 40, 13, -22, 42, 5,
+ 19, 29, 51, -21, 4, -28, 4, -17,
+ 74, 16, -3, 2, -10, 27, -9, 2,
+ -6, 12, -35, -20, 5, 37, 43, -18,
+ 4, 35, -19, 26, -104, -73, 31, 13,
+ -7, -45, -5, 25, -15, 34, 27, -58,
+ 19, 14, 72, -127, 23, 17, -41, -3,
+ ],
+ [
+ -33, 3, 40, -9, -26, -31, -61, 9,
+ 3, -32, -4, 85, 10, 36, -14, -35,
+ 0, 60, -43, -1, -15, 15, 5, 35,
+ -15, 11, 25, 18, 18, 12, -6, 43,
+ 16, -12, 48, 21, -24, 4, 33, -32,
+ -34, -33, 3, -2, -23, 3, 45, 52,
+ -7, -37, 16, -55, -56, 20, -29, 23,
+ -27, 20, 3, -46, -28, -6, 3, 33,
+ ],
+ [
+ -115, -61, -37, -11, 42, -26, -31, -46,
+ -69, 57, 2, 42, -0, 55, 48, -30,
+ 0, -21, 44, -23, 5, 11, -61, 24,
+ 48, 45, -8, 17, 8, 26, -13, 17,
+ -10, 27, -36, 3, 7, 60, -75, -11,
+ 2, 11, 8, 41, 25, -19, 19, -0,
+ 44, 37, -12, -13, 11, -16, 7, 6,
+ -20, -45, -59, -19, 8, 7, 48, 26,
+ ],
+ [
+ -9, -23, 25, 36, -27, 28, -31, 47,
+ -29, -71, -21, 10, 3, 67, -30, -17,
+ 11, 6, 41, -4, 12, 92, -14, -8,
+ -3, 41, 51, 67, -2, -10, 35, 8,
+ -48, 6, 9, -20, -17, 77, -54, -13,
+ -7, -36, -7, -25, -15, 7, 20, 17,
+ 12, -4, -18, -31, 25, 3, 10, -6,
+ -43, -35, -2, -78, -12, 12, -21, 11,
+ ],
+ [
+ 56, -36, -3, 36, 48, 10, 65, -76,
+ -40, 35, -29, 41, -14, -10, 16, -18,
+ -16, 44, 66, 0, 31, -8, 46, 40,
+ -9, -19, 10, -11, 63, -9, 8, 36,
+ -27, 13, -17, -10, 87, -36, 4, 6,
+ -23, -71, 9, -1, 85, -60, 27, -23,
+ 17, -25, 17, -59, -11, -11, 5, 11,
+ -73, -25, -43, -124, -2, 29, 8, -31,
],
];
internal static readonly short[][] EndGameQueenTable =
[
[
- -0, -1, 24, 42, -31, -36, 5, -15,
- 11, -26, 34, 31, 30, -6, -25, -20,
- -40, -5, 34, 73, -15, -39, -28, -57,
- 25, 38, -11, 25, 29, -25, 4, 7,
- 7, -2, 44, -12, 12, -1, -46, 28,
- 10, 16, 11, -4, -4, -3, -1, 43,
- -77, -3, 20, 27, -17, -5, -5, 35,
- -64, 5, 16, -5, -26, -59, -48, 81,
- ],
- [
- -73, 46, -4, 47, -97, 14, -15, 34,
- 31, -34, 17, 49, 25, -25, -21, -8,
- -18, 36, 76, 2, 8, -50, -7, -21,
- 49, 76, 19, 19, 42, -45, 52, -26,
- -25, 30, 21, 49, -25, 6, -10, 22,
- 0, -10, 36, -20, -9, 6, 0, 2,
- 69, -4, -10, 2, 2, -8, -26, 17,
- -107, -199, -7, -6, -1, -26, -2, 34,
- ],
- [
- 54, -27, 75, 42, -14, -0, 38, -61,
- 11, 30, 57, 39, 23, -54, 12, -11,
- 82, -28, 40, -54, 10, 23, -58, -25,
- 20, 28, 72, 9, 33, -51, -1, 19,
- 20, 6, 15, 17, -10, 12, 6, -3,
- -75, 31, 23, 32, -7, 52, -1, 36,
- -35, -50, -28, 5, 10, 16, 12, -4,
- -66, -86, -219, -41, 10, 3, -10, -7,
- ],
- [
- 1, 6, -3, -8, 6, -50, 41, -23,
- -34, 82, 19, -44, 7, 15, -31, -25,
- -1, 2, 68, -29, 74, -8, -63, -23,
- -13, 36, 30, 32, -28, 11, -23, -17,
- 61, 52, 16, 27, -11, -20, -116, -11,
- -2, 77, 43, 8, 33, 11, 46, 51,
- 31, -25, 8, 15, 9, 7, -79, 3,
- 53, -48, -37, -122, 5, -52, -74, 35,
- ],
- [
- 64, 93, 47, 33, 92, -40, 45, -9,
- -28, 18, 35, 42, -11, -29, -15, 1,
- -22, 38, 25, 33, 45, 4, 1, 15,
- -54, -29, 34, 51, 39, 38, 21, 37,
- -20, 6, -3, 82, 52, 40, 20, -48,
- -25, -16, 10, 30, 18, -11, 7, -5,
- -114, -57, -56, -21, -16, -9, -71, 18,
- -36, -48, -30, -43, -200, -23, -23, -21,
- ],
- [
- 61, 9, -24, -9, 1, -10, -5, -4,
- -68, -34, -27, 26, 19, 46, -39, 35,
- 11, -46, -9, -14, -25, -52, -20, 31,
- -11, 54, 22, -7, 3, 7, 23, 10,
- -15, 10, 1, 30, 25, 6, 65, -15,
- 21, -10, -5, 20, 47, 16, 6, 11,
- -43, 6, 37, 64, 8, -36, 32, 7,
- -5, -27, 12, -11, -26, -216, 35, -1,
- ],
- [
- 11, 5, -42, -50, 2, -11, -32, 42,
- 12, -6, -17, 3, 32, 25, 4, 2,
- -9, 8, 8, 13, 14, 24, 57, 14,
- 2, -3, 18, 9, 31, 4, 48, 18,
- 21, -1, 5, 7, 2, 18, 17, 21,
- -7, 0, 7, 5, 3, 3, -1, -38,
- -12, 15, 17, 17, 19, -27, -23, 48,
- 48, 29, 21, 22, -6, -6, -429, -33,
- ],
- [
- 25, 53, 28, 8, 62, -5, -35, -54,
- -34, -38, -46, -27, 7, -2, -27, -77,
- 0, -19, -29, -5, 6, 56, -40, 31,
- 33, 3, 19, 4, 25, -12, -2, 7,
- 4, -6, 34, 10, -27, 60, -12, 20,
- 20, -14, -6, -10, 22, 13, -7, -24,
- -1, 15, 13, 60, 28, 27, -17, -39,
- 54, 23, 38, 21, 22, 4, -4, -236,
- ],
- [
- -9, -57, -27, -13, -13, -16, -70, 43,
- 39, 69, 63, 54, 33, -21, -23, -72,
- 27, 27, 16, 23, -62, 29, -26, 46,
- -22, 76, 45, 63, 40, 65, -9, 8,
- -8, 10, 56, 11, 53, 28, 11, -32,
- -50, 3, -2, 96, 27, 51, -30, 56,
- -74, 2, -51, 0, -41, 6, 15, -115,
- -146, -100, -100, -3, 2, -17, 73, -58,
- ],
- [
- 82, 2, -2, 72, 1, -68, -61, -62,
- 1, 40, 17, 23, 61, -63, -18, 23,
- -58, 29, 8, 4, 47, 54, -53, -7,
- -15, 39, 29, 64, -16, -11, 34, -44,
- -18, 5, 74, 21, 26, 9, 65, 88,
- -21, 11, 43, -4, 17, 14, 65, 36,
- -78, 9, -40, 18, -0, -29, -56, -36,
- -103, -85, -28, -76, -68, -46, 24, 5,
- ],
- [
- 22, 26, 5, 10, 43, -39, 2, 9,
- -15, 35, 86, 44, 67, -34, -69, 3,
- 0, 44, -6, 4, 28, 48, -3, -17,
- 33, -5, 43, 66, 47, 17, 37, -34,
- 12, -21, 27, -9, 22, 53, -13, 20,
- -39, -32, -1, 12, -6, 48, -48, -40,
- -19, -73, -36, -42, 8, 7, -27, -58,
- 5, -35, -63, -37, -57, -62, 38, -28,
- ],
- [
- 62, 44, 50, 62, -9, 53, -47, -9,
- -39, 8, 19, -1, 61, 10, -54, -4,
- 7, -10, -5, 41, 51, -27, -66, -65,
- 47, 51, 42, 50, 24, 41, -34, -21,
- 29, 16, 31, 38, 45, 29, 9, 13,
- 8, -18, 27, -14, 8, -5, -25, -71,
- -43, 50, -10, -11, -7, -51, -21, -67,
- 22, -18, -3, -59, -71, -23, -53, -92,
- ],
- [
- 51, 3, 17, -11, 18, -21, -79, -0,
- 15, -41, 19, 20, 43, -14, -35, -29,
- 20, -16, -24, 1, -33, -53, -27, -28,
- 6, 22, -44, 10, 1, 53, -6, 2,
- 2, 19, 29, 6, -6, 4, -14, 47,
- 47, -12, 21, 2, -19, -14, 5, 39,
- -24, 15, -1, 1, 15, -4, -26, 26,
- -21, -24, 7, -17, -3, 83, -67, 43,
- ],
- [
- -5, -3, -71, -57, -24, 43, -36, 33,
- 13, -12, -58, -15, -30, -8, -5, -27,
- 14, -16, -12, 18, -6, -32, 13, -38,
- 15, -3, -6, 2, -3, 10, 13, -5,
- -0, -12, 25, 21, 2, 6, 47, 60,
- -39, 13, -1, 11, 30, -7, -1, 48,
- -11, 11, 14, 20, 11, -31, -18, 30,
- 30, 13, 29, 0, -7, -19, 16, 9,
- ],
- [
- -16, -24, 0, -29, 27, -37, -89, -26,
- 3, 4, -9, -15, -38, -76, -54, -65,
- -18, 12, -25, -17, -12, -38, -6, -3,
- 15, 33, 44, 11, -13, 43, 20, 34,
- 3, 34, 13, 34, 14, 23, 16, 30,
- -7, 5, -2, 12, 20, 8, -6, 35,
- 55, 20, 17, 29, 23, -10, -10, -36,
- 6, -1, 0, -4, 41, 7, -1, -4,
- ],
- [
- -33, -40, -8, 13, 1, -10, -49, 14,
- -9, -15, 40, 47, 31, 23, -56, -76,
- 8, 21, 63, 17, 15, 57, 13, -23,
- 36, 30, 14, -1, -9, 20, 9, 9,
- -8, -13, 1, 54, 101, 66, 15, -38,
- -27, 27, 74, -16, 46, 3, 38, -18,
- -37, 4, -48, -66, -40, -19, -24, -19,
- -81, -9, 26, 20, -29, -14, -0, -119,
- ],
- [
- -47, -62, 8, 16, -14, 39, -76, 12,
- -4, -3, 17, 17, -34, -54, -16, 51,
- 14, -1, 32, 72, -18, -1, 35, -14,
- 44, 59, 53, 57, 23, 8, 7, -9,
- -18, 56, -13, 46, 25, -8, 80, 48,
- -28, -22, 8, 5, 56, -13, -59, -5,
- -3, -72, 84, 35, -24, 7, 3, -42,
- -41, -55, -15, -53, -32, -53, -42, -71,
- ],
- [
- -48, 49, -66, 35, -6, -53, -39, -59,
- 3, -34, 8, -2, -26, 17, -57, -45,
- -11, 51, -15, -11, 25, -29, -4, -13,
- 10, 14, 75, 30, 7, 23, -6, 5,
- 70, 14, 68, 71, 28, -21, -5, 44,
- 11, 49, -33, 51, 11, -12, 11, -27,
- -5, -7, -62, -42, -16, -5, 10, 14,
- -36, 14, -30, 66, -34, -21, 0, -6,
- ],
- [
- -37, 22, -2, -86, -25, -39, -23, -50,
- 48, 9, 6, 81, -30, -40, 11, -28,
- 44, -2, 34, -42, -0, 8, -5, -99,
- 68, -29, 15, -11, 35, 40, 1, 27,
- 1, 31, 18, 11, 54, 19, 37, -4,
- -3, 83, 5, 10, -2, -24, 16, -18,
- -24, -24, -6, 5, 36, 31, -2, -60,
- 9, 4, 55, -38, 7, -20, -73, -33,
- ],
- [
- -0, -0, 8, -20, -58, -67, -10, -30,
- 4, 10, -33, 8, 30, -13, -57, -34,
- 10, 57, -30, -13, -22, 1, 14, 2,
- 18, -31, 49, -12, 28, 24, 9, 10,
- 72, -9, 23, 21, 28, 57, 65, -3,
- -25, 26, 3, -13, -9, 15, 43, 50,
- -22, -18, 18, -69, -52, 45, -17, 14,
- -28, 34, -12, 26, -86, -8, -68, 44,
- ],
- [
- -24, -18, -22, 7, -29, -104, -6, -64,
- -34, 66, 32, 11, -2, 24, -26, -62,
- -21, -55, 29, -46, 0, 2, -79, -19,
- 39, 26, 10, 18, 49, -29, 15, 27,
- 0, 7, 60, 26, 25, 34, -45, -33,
- 38, 50, 21, 67, 87, 22, 3, -12,
- 56, 52, 40, 13, 0, -46, -8, 13,
- -64, -80, -120, -51, 29, -7, 80, 24,
- ],
- [
- -8, 9, -8, 51, 5, -21, -49, -39,
- -32, -38, 38, 11, -30, 23, -57, -21,
- 35, -8, 12, 29, 5, -14, 4, -10,
- -4, 12, 13, 2, 41, -0, 17, -25,
- -3, 44, -71, 25, 63, 26, 55, 3,
- 13, -62, -4, -21, -9, 7, -12, -16,
- 18, 1, -7, -12, 65, 21, 18, -46,
- -43, -23, -0, -9, 12, 48, -60, 40,
- ],
- [
- 61, 10, 37, 27, 47, -23, -67, -97,
- -32, 9, 3, -32, -63, 6, 45, -59,
- 22, 74, 45, -2, 7, -14, 22, -45,
- -11, 10, 12, 7, -37, 53, 64, 19,
- -38, 36, 1, 13, 63, -38, 23, 36,
- 10, -11, 90, -56, 115, -47, 16, -36,
- 8, -22, 2, -34, 30, -29, 10, 32,
- -78, -18, -38, -86, -3, 35, -0, -83,
+ 0, -0, 22, 41, -30, -36, 5, -16,
+ 11, -24, 35, 31, 30, -7, -26, -21,
+ -40, -5, 33, 72, -15, -39, -27, -54,
+ 25, 37, -10, 23, 30, -25, 4, 6,
+ 8, -4, 43, -13, 13, -3, -47, 29,
+ 9, 16, 10, -5, -4, -4, -2, 44,
+ -78, -2, 21, 29, -17, -6, -5, 37,
+ -66, 3, 17, -6, -24, -59, -47, 80,
+ ],
+ [
+ -75, 47, -5, 46, -97, 12, -19, 35,
+ 29, -34, 16, 48, 24, -26, -21, -10,
+ -20, 37, 77, 3, 11, -50, -7, -23,
+ 47, 76, 21, 21, 46, -44, 53, -28,
+ -26, 33, 23, 50, -24, 8, -8, 22,
+ 3, -7, 39, -18, -7, 8, 3, 3,
+ 68, -4, -10, 2, 1, -9, -27, 14,
+ -109, -199, -9, -8, -4, -28, -3, 32,
+ ],
+ [
+ 55, -26, 75, 43, -14, 0, 36, -62,
+ 11, 30, 58, 39, 24, -54, 13, -11,
+ 80, -28, 39, -54, 10, 24, -56, -26,
+ 20, 28, 72, 10, 31, -49, 1, 18,
+ 20, 6, 15, 15, -9, 13, 7, -2,
+ -74, 30, 23, 32, -6, 53, -1, 37,
+ -34, -50, -28, 5, 9, 16, 12, -4,
+ -66, -86, -219, -42, 10, 2, -12, -7,
+ ],
+ [
+ 3, 7, -4, -7, 8, -50, 41, -23,
+ -32, 84, 19, -46, 8, 17, -29, -23,
+ 1, 3, 70, -29, 76, -8, -63, -23,
+ -13, 39, 31, 30, -27, 11, -22, -17,
+ 60, 52, 12, 28, -14, -20, -117, -10,
+ -7, 67, 34, 2, 29, 5, 35, 48,
+ 31, -22, 10, 16, 10, 12, -73, 6,
+ 54, -45, -34, -121, 6, -49, -71, 37,
+ ],
+ [
+ 63, 94, 50, 32, 92, -40, 45, -10,
+ -29, 17, 34, 42, -11, -29, -15, -1,
+ -24, 38, 26, 33, 47, 5, 1, 13,
+ -54, -29, 37, 52, 40, 40, 21, 36,
+ -21, 8, -1, 83, 52, 41, 20, -49,
+ -25, -13, 13, 33, 21, -8, 11, -5,
+ -115, -58, -57, -25, -19, -9, -72, 17,
+ -39, -49, -33, -46, -201, -25, -24, -25,
+ ],
+ [
+ 61, 10, -24, -10, 1, -11, -6, -4,
+ -68, -34, -27, 25, 19, 46, -39, 35,
+ 12, -46, -10, -14, -24, -53, -17, 31,
+ -11, 53, 22, -8, 4, 6, 22, 11,
+ -15, 11, -1, 29, 24, 7, 65, -14,
+ 21, -13, -7, 19, 45, 12, 2, 9,
+ -43, 7, 38, 65, 9, -38, 33, 7,
+ -4, -25, 13, -11, -25, -216, 40, 1,
+ ],
+ [
+ 11, 5, -42, -51, 2, -12, -32, 42,
+ 11, -5, -18, 3, 31, 24, 4, 2,
+ -9, 8, 8, 14, 14, 26, 57, 14,
+ 2, -2, 18, 10, 33, 5, 49, 18,
+ 21, -0, 6, 8, 2, 19, 18, 21,
+ -6, 1, 9, 6, 4, 3, -0, -38,
+ -12, 15, 18, 17, 18, -27, -25, 47,
+ 47, 29, 20, 21, -6, -7, -431, -34,
+ ],
+ [
+ 26, 53, 29, 7, 61, -3, -33, -54,
+ -34, -37, -47, -26, 7, -2, -27, -77,
+ 1, -19, -28, -5, 6, 56, -39, 32,
+ 33, 3, 19, 3, 26, -13, -1, 8,
+ 5, -6, 34, 10, -28, 60, -12, 21,
+ 22, -15, -6, -10, 21, 9, -11, -26,
+ -1, 16, 14, 62, 28, 27, -17, -41,
+ 53, 23, 38, 21, 22, 3, -4, -237,
+ ],
+ [
+ -9, -57, -28, -10, -13, -16, -70, 42,
+ 39, 67, 63, 54, 34, -21, -23, -73,
+ 27, 27, 16, 23, -62, 28, -26, 47,
+ -21, 75, 46, 63, 40, 65, -8, 8,
+ -8, 10, 57, 11, 53, 28, 10, -32,
+ -50, 3, -2, 95, 28, 52, -30, 58,
+ -76, 2, -52, -1, -42, 5, 14, -115,
+ -143, -100, -99, -4, 2, -16, 73, -58,
+ ],
+ [
+ 82, 4, -2, 74, 0, -68, -57, -61,
+ 4, 40, 15, 23, 62, -58, -17, 22,
+ -55, 27, 7, 1, 46, 51, -53, -6,
+ -15, 38, 26, 58, -23, -15, 28, -43,
+ -16, 1, 69, 17, 22, 0, 63, 87,
+ -21, 8, 37, -0, 15, 11, 57, 37,
+ -75, 10, -36, 22, 2, -24, -51, -30,
+ -102, -82, -19, -69, -64, -42, 29, 10,
+ ],
+ [
+ 23, 25, 5, 10, 43, -39, 2, 9,
+ -15, 35, 87, 45, 69, -35, -69, 2,
+ -1, 44, -7, 4, 27, 47, -4, -12,
+ 33, -6, 41, 64, 46, 15, 35, -35,
+ 12, -20, 25, -11, 21, 51, -13, 22,
+ -40, -31, -1, 10, -7, 47, -51, -41,
+ -17, -73, -35, -42, 11, 8, -28, -56,
+ 5, -31, -59, -34, -56, -61, 39, -28,
+ ],
+ [
+ 61, 40, 48, 61, -9, 51, -47, -11,
+ -41, 6, 17, -1, 61, 8, -57, -3,
+ 6, -10, -4, 41, 50, -26, -69, -65,
+ 46, 52, 43, 50, 24, 43, -33, -23,
+ 28, 15, 33, 39, 45, 31, 10, 13,
+ 13, -14, 30, -13, 10, -1, -20, -70,
+ -43, 48, -11, -12, -9, -51, -22, -67,
+ 23, -18, -3, -58, -71, -23, -51, -95,
+ ],
+ [
+ 52, 3, 16, -12, 18, -22, -80, -1,
+ 14, -42, 20, 20, 43, -15, -36, -31,
+ 21, -15, -25, 2, -34, -54, -28, -28,
+ 7, 23, -44, 10, 2, 53, -6, 1,
+ 2, 19, 29, 6, -5, 4, -14, 47,
+ 49, -11, 21, 2, -18, -15, 4, 39,
+ -22, 14, -1, 1, 14, -3, -26, 25,
+ -21, -24, 7, -15, -1, 85, -67, 43,
+ ],
+ [
+ -5, -2, -70, -58, -24, 43, -37, 33,
+ 13, -12, -58, -14, -30, -8, -7, -28,
+ 14, -16, -12, 18, -6, -32, 13, -39,
+ 16, -3, -7, 1, -3, 9, 13, -5,
+ 1, -12, 24, 20, 1, 4, 47, 58,
+ -39, 13, -1, 11, 30, -7, -2, 49,
+ -10, 11, 14, 20, 11, -31, -18, 31,
+ 31, 13, 30, 0, -7, -19, 16, 9,
+ ],
+ [
+ -15, -23, 0, -29, 27, -37, -89, -27,
+ 4, 5, -8, -15, -39, -76, -54, -66,
+ -17, 13, -25, -17, -12, -39, -7, -2,
+ 16, 32, 43, 10, -15, 42, 18, 34,
+ 5, 33, 12, 33, 13, 21, 13, 29,
+ -7, 4, -2, 12, 18, 5, -7, 33,
+ 57, 22, 19, 31, 24, -9, -9, -35,
+ 7, 1, 1, -4, 43, 7, 1, -3,
+ ],
+ [
+ -32, -39, -8, 14, 1, -10, -49, 16,
+ -8, -16, 41, 48, 34, 25, -58, -75,
+ 8, 20, 61, 16, 13, 56, 14, -23,
+ 37, 28, 13, -6, -13, 19, 5, 9,
+ -7, -12, -1, 51, 100, 65, 14, -37,
+ -26, 25, 72, -18, 45, 3, 35, -18,
+ -36, 4, -47, -66, -33, -17, -23, -21,
+ -79, -9, 28, 21, -28, -14, 4, -119,
+ ],
+ [
+ -45, -62, 9, 18, -11, 38, -75, 15,
+ -2, -4, 15, 18, -34, -57, -13, 53,
+ 15, -4, 33, 70, -18, -5, 36, -11,
+ 44, 56, 54, 55, 15, 3, 6, -6,
+ -20, 57, -14, 43, 24, -18, 74, 48,
+ -28, -31, 9, 6, 58, -19, -58, -5,
+ -1, -70, 88, 40, -20, 10, 5, -40,
+ -33, -55, -10, -48, -34, -51, -41, -69,
+ ],
+ [
+ -49, 47, -69, 35, -7, -52, -38, -59,
+ 2, -34, 7, 3, -28, 17, -59, -47,
+ -13, 53, -17, -12, 22, -30, -5, -15,
+ 12, 14, 73, 31, 6, 23, -7, 6,
+ 72, 14, 69, 71, 27, -22, -5, 42,
+ 13, 48, -32, 51, 13, -13, 9, -27,
+ -4, -5, -61, -42, -15, -4, 9, 14,
+ -38, 14, -31, 78, -37, -19, -1, -2,
+ ],
+ [
+ -34, 22, -3, -88, -25, -39, -22, -52,
+ 49, 7, 6, 82, -30, -39, 11, -27,
+ 42, -5, 35, -43, 2, 6, -3, -104,
+ 67, -29, 13, -12, 34, 41, -2, 27,
+ 0, 30, 24, 11, 54, 17, 34, -3,
+ -7, 84, 4, 10, -4, -24, 15, -18,
+ -24, -25, -3, 9, 38, 33, -1, -59,
+ 8, 2, 58, -37, 8, -19, -73, -33,
+ ],
+ [
+ -1, 1, 14, -22, -57, -65, -10, -28,
+ 3, 9, -31, 8, 26, -16, -58, -31,
+ 10, 57, -30, -12, -22, 2, 9, 5,
+ 20, -29, 47, -11, 24, 20, 4, 9,
+ 73, -10, 22, 20, 25, 51, 61, -3,
+ -22, 23, 4, -11, -11, 15, 43, 47,
+ -27, -15, 23, -67, -49, 47, -16, 14,
+ -25, 34, -9, 27, -86, -2, -70, 47,
+ ],
+ [
+ -24, -18, -21, 8, -29, -102, -6, -64,
+ -33, 68, 36, 10, -3, 23, -23, -60,
+ -21, -55, 28, -45, 2, 2, -81, -19,
+ 37, 23, 8, 18, 46, -29, 13, 27,
+ -6, 8, 56, 25, 29, 33, -47, -37,
+ 37, 51, 17, 78, 85, 30, 2, -10,
+ 55, 52, 40, 14, 2, -46, -12, 13,
+ -63, -77, -124, -49, 31, -5, 79, 21,
+ ],
+ [
+ -11, 13, -7, 49, 3, -21, -50, -37,
+ -29, -38, 37, 10, -29, 23, -56, -21,
+ 38, -8, 14, 32, 4, -16, 3, -9,
+ -5, 10, 12, 2, 37, -1, 16, -21,
+ -4, 43, -72, 25, 59, 27, 55, 3,
+ 14, -61, 0, -25, -11, 7, -13, -18,
+ 18, -2, -7, -5, 65, 20, 17, -46,
+ -44, -19, -0, -10, 10, 52, -62, 38,
+ ],
+ [
+ 62, 13, 41, 27, 48, -24, -68, -101,
+ -32, 8, 3, -34, -64, 12, 44, -60,
+ 27, 71, 43, -4, 6, -12, 21, -47,
+ -13, 8, 8, 12, -35, 52, 66, 19,
+ -40, 36, 5, 11, 62, -35, 24, 35,
+ 8, -8, 89, -61, 121, -44, 20, -36,
+ 7, -23, -1, -33, 29, -31, 10, 34,
+ -78, -20, -38, -89, -6, 31, -4, -70,
],
];
@@ -2743,8 +2743,8 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 23, 0, 0, 0, 0, 0, 0, 0,
- 15, 0, 0, 0, 0, 0, 0, 0,
+ 20, 0, 0, 0, 0, 0, 0, 0,
+ 11, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2754,7 +2754,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 27, 0, 0, 0, 0, 0, 0,
+ 0, 22, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2764,7 +2764,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 19, 0, 0, 0, 0, 0,
+ 0, 0, 16, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2774,7 +2774,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, -31, 0, 0, 0, 0,
+ 0, 0, 0, -32, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2784,7 +2784,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, -11, 0, 0, 0,
+ 0, 0, 0, 0, -12, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2804,7 +2804,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 19, 0,
+ 0, 0, 0, 0, 0, 0, 17, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2814,16 +2814,16 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, -1,
+ 0, 0, 0, 0, 0, 0, 0, -3,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, -23, 0, 0, 0, 0, 0, 0,
- 0, 7, 0, 0, 0, 0, 0, 0,
- 0, 27, 0, 0, 0, 0, 0, 0,
+ 0, -19, 0, 0, 0, 0, 0, 0,
+ 0, 9, 0, 0, 0, 0, 0, 0,
+ 0, 30, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -2831,9 +2831,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, -52, 0, 0, 0, 0, 0,
- 0, 0, -34, 0, 0, 0, 0, 0,
- 0, 0, 5, 0, 0, 0, 0, 0,
+ 0, 0, -51, 0, 0, 0, 0, 0,
+ 0, 0, -31, 0, 0, 0, 0, 0,
+ 0, 0, 8, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -2841,9 +2841,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, -107, 0, 0, 0, 0,
- 0, 0, 0, -34, 0, 0, 0, 0,
- 0, 0, 0, -6, 0, 0, 0, 0,
+ 0, 0, 0, -105, 0, 0, 0, 0,
+ 0, 0, 0, -31, 0, 0, 0, 0,
+ 0, 0, 0, -3, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -2851,9 +2851,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, -97, 0, 0, 0,
- 0, 0, 0, 0, -43, 0, 0, 0,
- 0, 0, 0, 0, -13, 0, 0, 0,
+ 0, 0, 0, 0, -95, 0, 0, 0,
+ 0, 0, 0, 0, -41, 0, 0, 0,
+ 0, 0, 0, 0, -11, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -2861,8 +2861,8 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, -59, 0, 0,
- 0, 0, 0, 0, 0, -37, 0, 0,
+ 0, 0, 0, 0, 0, -58, 0, 0,
+ 0, 0, 0, 0, 0, -36, 0, 0,
0, 0, 0, 0, 0, -13, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
@@ -2872,8 +2872,8 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, -49, 0,
- 0, 0, 0, 0, 0, 0, -3, 0,
- 0, 0, 0, 0, 0, 0, 20, 0,
+ 0, 0, 0, 0, 0, 0, -4, 0,
+ 0, 0, 0, 0, 0, 0, 19, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -2881,46 +2881,46 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, -58,
- 0, 0, 0, 0, 0, 0, 0, -21,
- 0, 0, 0, 0, 0, 0, 0, 24,
+ 0, 0, 0, 0, 0, 0, 0, -62,
+ 0, 0, 0, 0, 0, 0, 0, -25,
+ 0, 0, 0, 0, 0, 0, 0, 20,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
58, 0, 0, 0, 0, 0, 0, 0,
-11, 0, 0, 0, 0, 0, 0, 0,
-1, 0, 0, 0, 0, 0, 0, 0,
- -5, 0, 0, 0, 0, 0, 0, 0,
- -32, 0, 0, 0, 0, 0, 0, 0,
+ -7, 0, 0, 0, 0, 0, 0, 0,
+ -34, 0, 0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 58, 0, 0, 0, 0, 0, 0,
- 0, 58, 0, 0, 0, 0, 0, 0,
+ 0, 56, 0, 0, 0, 0, 0, 0,
0, 54, 0, 0, 0, 0, 0, 0,
- 0, -4, 0, 0, 0, 0, 0, 0,
+ 0, -2, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 51, 0, 0, 0, 0, 0,
- 0, 0, 3, 0, 0, 0, 0, 0,
- 0, 0, -36, 0, 0, 0, 0, 0,
- 0, 0, -56, 0, 0, 0, 0, 0,
+ 0, 0, 54, 0, 0, 0, 0, 0,
+ 0, 0, 4, 0, 0, 0, 0, 0,
+ 0, 0, -33, 0, 0, 0, 0, 0,
+ 0, 0, -50, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, -28, 0, 0, 0, 0,
- 0, 0, 0, 52, 0, 0, 0, 0,
+ 0, 0, 0, -32, 0, 0, 0, 0,
+ 0, 0, 0, 50, 0, 0, 0, 0,
0, 0, 0, -49, 0, 0, 0, 0,
- 0, 0, 0, -85, 0, 0, 0, 0,
+ 0, 0, 0, -82, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2928,39 +2928,39 @@ internal static class TunableEvalParameters
],
[
0, 0, 0, 0, 46, 0, 0, 0,
- 0, 0, 0, 0, 39, 0, 0, 0,
- 0, 0, 0, 0, 24, 0, 0, 0,
- 0, 0, 0, 0, -77, 0, 0, 0,
+ 0, 0, 0, 0, 38, 0, 0, 0,
+ 0, 0, 0, 0, 27, 0, 0, 0,
+ 0, 0, 0, 0, -69, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, 0, 0, -51, 0, 0,
- 0, 0, 0, 0, 0, -21, 0, 0,
- 0, 0, 0, 0, 0, -10, 0, 0,
- 0, 0, 0, 0, 0, -60, 0, 0,
+ 0, 0, 0, 0, 0, -55, 0, 0,
+ 0, 0, 0, 0, 0, -20, 0, 0,
+ 0, 0, 0, 0, 0, -8, 0, 0,
+ 0, 0, 0, 0, 0, -54, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, 0, 0, 0, 22, 0,
+ 0, 0, 0, 0, 0, 0, 21, 0,
0, 0, 0, 0, 0, 0, 53, 0,
- 0, 0, 0, 0, 0, 0, 26, 0,
- 0, 0, 0, 0, 0, 0, -14, 0,
+ 0, 0, 0, 0, 0, 0, 28, 0,
+ 0, 0, 0, 0, 0, 0, -11, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, 0, 0, 0, 0, 67,
- 0, 0, 0, 0, 0, 0, 0, 81,
- 0, 0, 0, 0, 0, 0, 0, 75,
- 0, 0, 0, 0, 0, 0, 0, 19,
+ 0, 0, 0, 0, 0, 0, 0, 70,
+ 0, 0, 0, 0, 0, 0, 0, 80,
+ 0, 0, 0, 0, 0, 0, 0, 77,
+ 0, 0, 0, 0, 0, 0, 0, 23,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2977,8 +2977,8 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- -11, 0, 0, 0, 0, 0, 0, 0,
- -39, 0, 0, 0, 0, 0, 0, 0,
+ -10, 0, 0, 0, 0, 0, 0, 0,
+ -38, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2988,7 +2988,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 1, 0, 0, 0, 0, 0, 0,
+ 0, 4, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -2998,7 +2998,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 12, 0, 0, 0, 0, 0,
+ 0, 0, 14, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -3008,7 +3008,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 7, 0, 0, 0, 0,
+ 0, 0, 0, 8, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -3018,7 +3018,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 19, 0, 0, 0,
+ 0, 0, 0, 0, 23, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -3028,7 +3028,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 19, 0, 0,
+ 0, 0, 0, 0, 0, 18, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -3038,7 +3038,7 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 11, 0,
+ 0, 0, 0, 0, 0, 0, 18, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
@@ -3048,16 +3048,16 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 22,
+ 0, 0, 0, 0, 0, 0, 0, 28,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 3, 0, 0, 0, 0, 0, 0,
- 0, -13, 0, 0, 0, 0, 0, 0,
- 0, -32, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, -15, 0, 0, 0, 0, 0, 0,
+ 0, -35, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -3065,9 +3065,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 25, 0, 0, 0, 0, 0,
- 0, 0, 8, 0, 0, 0, 0, 0,
- 0, 0, -17, 0, 0, 0, 0, 0,
+ 0, 0, 20, 0, 0, 0, 0, 0,
+ 0, 0, 4, 0, 0, 0, 0, 0,
+ 0, 0, -22, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -3075,9 +3075,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 45, 0, 0, 0, 0,
- 0, 0, 0, 16, 0, 0, 0, 0,
- 0, 0, 0, -10, 0, 0, 0, 0,
+ 0, 0, 0, 41, 0, 0, 0, 0,
+ 0, 0, 0, 11, 0, 0, 0, 0,
+ 0, 0, 0, -14, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -3085,9 +3085,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 46, 0, 0, 0,
- 0, 0, 0, 0, 26, 0, 0, 0,
- 0, 0, 0, 0, -0, 0, 0, 0,
+ 0, 0, 0, 0, 42, 0, 0, 0,
+ 0, 0, 0, 0, 22, 0, 0, 0,
+ 0, 0, 0, 0, -4, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -3095,9 +3095,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 42, 0, 0,
- 0, 0, 0, 0, 0, 22, 0, 0,
- 0, 0, 0, 0, 0, 2, 0, 0,
+ 0, 0, 0, 0, 0, 39, 0, 0,
+ 0, 0, 0, 0, 0, 18, 0, 0,
+ 0, 0, 0, 0, 0, -1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -3105,9 +3105,9 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 30, 0,
- 0, 0, 0, 0, 0, 0, 7, 0,
- 0, 0, 0, 0, 0, 0, -9, 0,
+ 0, 0, 0, 0, 0, 0, 28, 0,
+ 0, 0, 0, 0, 0, 0, 6, 0,
+ 0, 0, 0, 0, 0, 0, -10, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
@@ -3117,64 +3117,64 @@ internal static class TunableEvalParameters
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 23,
0, 0, 0, 0, 0, 0, 0, 4,
- 0, 0, 0, 0, 0, 0, 0, -15,
+ 0, 0, 0, 0, 0, 0, 0, -14,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
-110, 0, 0, 0, 0, 0, 0, 0,
+ -52, 0, 0, 0, 0, 0, 0, 0,
+ -37, 0, 0, 0, 0, 0, 0, 0,
+ -39, 0, 0, 0, 0, 0, 0, 0,
-51, 0, 0, 0, 0, 0, 0, 0,
- -35, 0, 0, 0, 0, 0, 0, 0,
- -38, 0, 0, 0, 0, 0, 0, 0,
- -49, 0, 0, 0, 0, 0, 0, 0,
- -63, 0, 0, 0, 0, 0, 0, 0,
+ -65, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, -94, 0, 0, 0, 0, 0, 0,
- 0, -68, 0, 0, 0, 0, 0, 0,
- 0, -56, 0, 0, 0, 0, 0, 0,
- 0, -57, 0, 0, 0, 0, 0, 0,
+ 0, -97, 0, 0, 0, 0, 0, 0,
+ 0, -72, 0, 0, 0, 0, 0, 0,
+ 0, -60, 0, 0, 0, 0, 0, 0,
+ 0, -62, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, -54, 0, 0, 0, 0, 0,
- 0, 0, -33, 0, 0, 0, 0, 0,
- 0, 0, -14, 0, 0, 0, 0, 0,
- 0, 0, -13, 0, 0, 0, 0, 0,
+ 0, 0, -57, 0, 0, 0, 0, 0,
+ 0, 0, -36, 0, 0, 0, 0, 0,
+ 0, 0, -18, 0, 0, 0, 0, 0,
+ 0, 0, -17, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, -41, 0, 0, 0, 0,
- 0, 0, 0, -33, 0, 0, 0, 0,
- 0, 0, 0, 1, 0, 0, 0, 0,
- 0, 0, 0, -0, 0, 0, 0, 0,
+ 0, 0, 0, -45, 0, 0, 0, 0,
+ 0, 0, 0, -37, 0, 0, 0, 0,
+ 0, 0, 0, -4, 0, 0, 0, 0,
+ 0, 0, 0, -6, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, 0, -59, 0, 0, 0,
- 0, 0, 0, 0, -19, 0, 0, 0,
- 0, 0, 0, 0, -3, 0, 0, 0,
- 0, 0, 0, 0, 5, 0, 0, 0,
+ 0, 0, 0, 0, -63, 0, 0, 0,
+ 0, 0, 0, 0, -24, 0, 0, 0,
+ 0, 0, 0, 0, -9, 0, 0, 0,
+ 0, 0, 0, 0, -2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, 0, 0, -26, 0, 0,
- 0, 0, 0, 0, 0, -10, 0, 0,
- 0, 0, 0, 0, 0, -1, 0, 0,
- 0, 0, 0, 0, 0, 1, 0, 0,
+ 0, 0, 0, 0, 0, -27, 0, 0,
+ 0, 0, 0, 0, 0, -13, 0, 0,
+ 0, 0, 0, 0, 0, -5, 0, 0,
+ 0, 0, 0, 0, 0, -4, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
@@ -3182,19 +3182,19 @@ internal static class TunableEvalParameters
],
[
0, 0, 0, 0, 0, 0, -42, 0,
- 0, 0, 0, 0, 0, 0, -31, 0,
- 0, 0, 0, 0, 0, 0, -20, 0,
- 0, 0, 0, 0, 0, 0, -20, 0,
+ 0, 0, 0, 0, 0, 0, -32, 0,
+ 0, 0, 0, 0, 0, 0, -21, 0,
+ 0, 0, 0, 0, 0, 0, -23, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
- 0, 0, 0, 0, 0, 0, 0, -128,
- 0, 0, 0, 0, 0, 0, 0, -61,
- 0, 0, 0, 0, 0, 0, 0, -51,
- 0, 0, 0, 0, 0, 0, 0, -47,
+ 0, 0, 0, 0, 0, 0, 0, -131,
+ 0, 0, 0, 0, 0, 0, 0, -63,
+ 0, 0, 0, 0, 0, 0, 0, -54,
+ 0, 0, 0, 0, 0, 0, 0, -50,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
@@ -3206,232 +3206,232 @@ internal static class TunableEvalParameters
[
[
0, 0, 0, 0, 0, 0, 0, 0,
- -144, 31, 4, -5, -26, -32, 29, 53,
- -23, 135, 86, 21, 27, 45, 7, 11,
- -17, 35, 43, 26, 11, -11, 11, 13,
- -32, -24, -1, -3, -14, -21, 6, -11,
- -43, -38, -22, -1, -21, -13, 17, 15,
- -35, -36, -14, -19, -26, -5, 9, 1,
+ -142, 29, 3, -5, -27, -32, 29, 54,
+ -22, 134, 86, 21, 28, 46, 8, 13,
+ -18, 34, 42, 24, 10, -12, 11, 12,
+ -31, -25, -2, -4, -14, -21, 6, -10,
+ -42, -39, -22, -1, -21, -14, 19, 17,
+ -35, -35, -14, -18, -25, -5, 10, 2,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -43, -112, -103, 25, 49, 24, 55, 2,
- 35, 34, 100, 90, 25, 18, 24, 55,
- -18, -12, 22, 45, 13, 7, -10, 25,
- -43, -34, 3, -1, -5, -8, -7, 5,
- -56, -50, -16, -9, -14, -12, 8, 16,
- -48, -46, -15, -32, -30, 1, 24, 20,
+ -42, -112, -102, 25, 49, 24, 56, 2,
+ 35, 35, 100, 90, 26, 19, 25, 56,
+ -19, -12, 21, 43, 12, 6, -11, 24,
+ -43, -35, 2, -2, -5, -8, -8, 5,
+ -56, -50, -17, -9, -14, -13, 9, 18,
+ -48, -45, -15, -32, -29, 2, 24, 21,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 104, -158, 57, -62, -40, -78, -77, 3,
- 24, 36, 145, 57, 79, 7, -10, 51,
- -6, -5, 20, 49, 24, 11, 4, 16,
- -35, -24, -11, 15, 7, -4, -17, 12,
- -48, -51, -14, -3, -3, -8, 8, 23,
- -36, -44, -16, -24, -16, -2, 20, 23,
+ 102, -158, 56, -60, -39, -77, -78, 1,
+ 24, 36, 146, 56, 80, 7, -10, 52,
+ -7, -5, 19, 48, 23, 9, 3, 15,
+ -35, -24, -12, 14, 6, -4, -18, 12,
+ -47, -51, -14, -4, -2, -9, 9, 25,
+ -35, -43, -17, -23, -15, -1, 20, 24,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -24, -3, -16, 47, -14, -24, 15, 77,
- -5, 13, 58, 109, 90, 61, 19, 24,
- 0, -7, 13, 7, 13, 14, -2, 14,
- -35, -22, -15, -7, -13, -10, -4, -10,
- -49, -28, -31, -27, -39, -11, 4, -11,
- -38, -22, -29, -42, -44, -3, 8, -0,
+ -22, -2, -15, 49, -12, -20, 22, 78,
+ -4, 14, 58, 109, 90, 61, 20, 23,
+ 0, -7, 11, 5, 10, 11, -4, 12,
+ -35, -24, -17, -9, -14, -11, -5, -9,
+ -49, -28, -32, -28, -38, -13, 5, -10,
+ -37, -22, -30, -42, -43, -3, 8, 1,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -25, -19, -35, -78, 51, -79, -29, -11,
- 34, 16, 1, 46, 96, 44, 57, 49,
- 1, -6, 4, 24, 23, 15, 4, 17,
- -13, -10, -3, 1, 0, -4, -8, -1,
- -22, -14, -12, -15, -17, -20, -1, 4,
- -9, -5, -7, -16, -24, -12, 4, 4,
+ -25, -19, -36, -77, 51, -79, -28, -8,
+ 35, 15, 2, 46, 97, 46, 58, 49,
+ 1, -6, 3, 22, 21, 14, 3, 16,
+ -13, -11, -4, -1, -1, -5, -9, -1,
+ -21, -14, -12, -15, -16, -21, -0, 7,
+ -9, -4, -8, -16, -23, -12, 4, 5,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -22, -27, -9, 40, -45, 15, -71, 130,
- 24, 8, 9, 88, 83, 138, 91, 49,
- -18, -26, -1, 12, 25, 1, 6, 30,
- -30, -44, -16, -9, -8, -27, -5, -26,
- -33, -34, -19, -14, -23, -28, -18, -16,
- -20, -31, -21, -37, -26, -21, -11, -15,
+ -21, -25, -8, 40, -44, 17, -73, 132,
+ 24, 7, 8, 89, 83, 138, 88, 46,
+ -19, -27, -2, 11, 23, -1, 4, 29,
+ -30, -44, -17, -10, -8, -27, -6, -26,
+ -32, -34, -19, -13, -22, -28, -16, -14,
+ -19, -30, -20, -36, -25, -20, -10, -14,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -65, -52, -48, 27, -3, -32, -81, -111,
- 14, -2, 7, 20, 72, 108, 89, 27,
- 3, 2, 11, 16, 36, 44, 1, -4,
- -4, -7, 1, 7, 18, 9, -8, -24,
- -7, -4, -4, -0, 1, 1, -8, -21,
- 3, 5, 1, -16, -13, 5, 2, -16,
+ -65, -52, -49, 26, -5, -31, -82, -110,
+ 15, -1, 7, 20, 73, 108, 89, 27,
+ 2, 2, 11, 16, 35, 43, 0, -5,
+ -4, -7, -0, 7, 18, 9, -8, -23,
+ -6, -4, -5, -1, 1, 0, -7, -18,
+ 4, 6, 0, -15, -12, 5, 2, -15,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 3, -44, -100, 36, -24, 50, -4, -204,
- 12, 19, 3, 4, 49, 89, 91, 14,
- -6, -7, 2, 20, 25, 44, 29, -10,
- -12, -14, -3, -1, 5, 15, 14, -24,
- -13, -11, -7, -2, 4, 13, 11, -18,
- -6, -12, -0, -29, -4, 3, 12, -10,
+ 3, -44, -102, 38, -24, 50, -4, -204,
+ 12, 20, 3, 5, 49, 88, 92, 13,
+ -6, -7, 2, 20, 24, 42, 28, -12,
+ -11, -14, -4, -1, 5, 15, 13, -24,
+ -12, -11, -7, -3, 5, 12, 12, -16,
+ -6, -11, -1, -29, -4, 3, 12, -9,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -13, 21, 25, 23, -53, 6, -23, 15,
- 85, 17, 35, 57, 5, -5, 1, -21,
- 5, 45, 57, 30, -1, -25, -10, -2,
- -32, -18, 11, 5, -7, -11, -6, -12,
- -37, -47, -3, -7, -3, -19, 7, 12,
- -33, -44, -12, -20, -4, -8, 4, 5,
+ -13, 21, 27, 21, -52, 8, -17, 17,
+ 84, 17, 34, 58, 6, -4, 3, -20,
+ 4, 44, 55, 29, -2, -27, -11, -2,
+ -33, -19, 10, 4, -8, -11, -7, -12,
+ -37, -47, -3, -8, -2, -20, 8, 14,
+ -34, -44, -13, -19, -3, -8, 5, 5,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 37, 67, 65, 10, -101, -40, -40, -54,
- 48, 153, 92, 172, 56, -16, -7, -25,
- 15, 14, 44, 30, 30, 7, -18, -32,
- -21, -10, -3, -7, -0, -22, -10, -22,
- -58, -42, -21, -8, -10, -16, -15, -24,
- -48, -40, -14, -54, -20, -4, -11, -24,
+ 37, 66, 65, 12, -100, -41, -37, -50,
+ 49, 154, 91, 169, 57, -15, -5, -24,
+ 14, 12, 44, 27, 29, 5, -20, -33,
+ -22, -11, -4, -9, -2, -24, -11, -22,
+ -58, -43, -21, -8, -9, -16, -14, -23,
+ -47, -40, -13, -53, -19, -4, -10, -24,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -5, 26, 148, 42, 127, 33, -54, 37,
- -11, 51, 89, 52, 122, 60, 8, -46,
- -14, 11, 12, 30, -0, 2, -6, -20,
- -50, -18, -23, -23, -11, -26, -18, -14,
- -51, -45, -25, -34, -19, -32, -20, -28,
- -46, -36, -39, -44, -30, -20, -21, -16,
+ -3, 28, 150, 41, 130, 35, -53, 38,
+ -12, 50, 89, 52, 123, 61, 8, -46,
+ -16, 8, 10, 28, -2, 0, -8, -22,
+ -52, -20, -24, -23, -11, -27, -20, -15,
+ -51, -45, -26, -33, -18, -32, -19, -26,
+ -46, -35, -39, -43, -29, -19, -20, -15,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 26, 34, 44, 103, 30, -31, -28, 21,
- -30, -35, 65, 100, 75, 103, 60, 25,
- -36, -14, 23, 25, 41, 11, 22, 1,
- -48, -30, -13, -9, -23, -19, -13, -24,
- -61, -29, -29, -21, -26, -24, -25, -17,
- -49, -35, -26, -40, -12, -22, -16, -22,
+ 27, 34, 47, 106, 30, -33, -25, 21,
+ -31, -37, 65, 98, 76, 104, 60, 26,
+ -38, -16, 22, 24, 41, 8, 21, -1,
+ -50, -31, -14, -9, -23, -20, -14, -24,
+ -61, -30, -29, -20, -25, -24, -24, -15,
+ -49, -35, -26, -39, -10, -22, -15, -21,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 0, 116, -58, 68, 33, -1, 63, 17,
- -2, -5, -3, 89, 38, 61, 40, 25,
- -30, -28, 1, 10, 28, 48, 3, 29,
- -46, -29, -21, -12, -1, -10, -16, -0,
- -44, -30, -21, -23, -10, -24, -19, -20,
- -41, -21, -17, -37, -38, -21, -16, -24,
+ 2, 116, -56, 70, 34, -6, 62, 17,
+ -1, -4, -3, 90, 39, 62, 38, 25,
+ -31, -28, -0, 9, 26, 48, 1, 28,
+ -46, -29, -22, -13, -2, -10, -17, -0,
+ -43, -30, -22, -23, -9, -24, -19, -18,
+ -41, -20, -18, -36, -36, -20, -16, -23,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 31, 71, -31, -18, 13, 16, -38, 42,
- -4, -1, -6, 2, 58, 95, 6, 106,
- -26, -16, -4, 1, 25, 46, 33, 33,
- -35, -36, -14, -18, -3, -2, -5, -12,
- -34, -27, -22, -16, -10, -9, -16, -17,
- -19, -29, -11, -29, -22, -17, -5, -25,
+ 32, 71, -30, -18, 14, 16, -42, 40,
+ -2, 0, -7, 2, 60, 97, 5, 105,
+ -26, -16, -5, -0, 24, 44, 32, 31,
+ -35, -36, -15, -18, -2, -2, -5, -12,
+ -33, -27, -23, -16, -10, -10, -14, -15,
+ -19, -29, -12, -29, -22, -17, -5, -25,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -37, -17, 1, -15, -70, 54, -103, -26,
- 17, 18, 10, -7, 18, 81, 96, -72,
- 2, -0, -1, 11, 36, 38, 23, 6,
- -14, -11, -1, 2, 3, 16, 2, -6,
- -16, -15, -3, -12, 16, 9, 5, -11,
- -6, -9, -7, -13, -4, 3, 15, -4,
+ -37, -14, 1, -16, -69, 55, -101, -24,
+ 18, 18, 9, -6, 19, 81, 96, -72,
+ 1, 0, -2, 10, 35, 36, 21, 5,
+ -14, -11, -2, 1, 2, 16, 1, -6,
+ -15, -15, -4, -13, 16, 8, 6, -9,
+ -5, -8, -8, -13, -4, 3, 15, -3,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 106, 66, -27, 54, -56, 2, -89, -130,
- -13, 43, -25, 63, -24, -130, -102, 2,
- 54, 23, 115, 21, 1, 6, 8, -107,
- 22, 94, 64, 25, 19, -23, -62, -73,
- 4, 1, 34, 23, -23, 25, -23, -63,
- 23, 3, 55, 39, -6, 36, -2, -53,
+ 104, 66, -28, 58, -53, 9, -89, -128,
+ -14, 44, -28, 60, -28, -127, -107, 1,
+ 54, 23, 111, 20, -2, 3, 6, -107,
+ 22, 96, 65, 26, 20, -22, -61, -72,
+ 4, 2, 34, 22, -21, 24, -23, -61,
+ 22, 4, 55, 39, -4, 38, -2, -52,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -1, 55, 27, 9, 22, 65, 7, -36,
- -7, -35, -103, 29, -85, -49, -29, -88,
- -30, -51, -117, -74, -32, 27, -16, -99,
- 5, 23, 4, 40, -12, -7, 51, -63,
- 59, -12, -38, -5, 16, 50, -21, -29,
- 45, 166, 164, 110, 66, 20, 34, -53,
+ -9, 54, 29, 7, 27, 65, 4, -39,
+ -9, -38, -108, 34, -85, -51, -31, -94,
+ -30, -58, -112, -70, -33, 26, -18, -101,
+ 4, 25, 4, 41, -4, -2, 52, -62,
+ 63, -12, -38, 6, 15, 48, -20, -30,
+ 44, 172, 167, 111, 63, 19, 33, -57,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 53, 31, 44, 51, 102, 23, 57, -23,
- -65, -110, 16, -38, -27, 2, -107, -120,
- -70, -21, -41, -153, -33, 100, -19, -65,
- -40, 34, 19, 1, 60, 60, 22, -90,
- 7, 35, 20, -63, -9, 39, -20, -19,
- -19, 32, 63, 82, 119, 66, 60, -48,
+ 56, 33, 45, 48, 105, 21, 52, -22,
+ -63, -116, 17, -34, -27, -9, -115, -124,
+ -76, -22, -45, -147, -28, 103, -18, -69,
+ -43, 32, 15, 2, 64, 64, 25, -93,
+ 9, 36, 23, -57, -4, 39, -18, -21,
+ -21, 36, 66, 84, 120, 68, 63, -53,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -73, 47, 64, 91, -22, 66, 55, -21,
- -89, -80, -24, 24, 6, -39, -64, -56,
- -65, 11, -0, -54, -92, 35, 33, -27,
- -36, -27, 17, -45, -14, 62, 21, -23,
- -80, 9, 36, -20, 4, 33, -24, -22,
- -26, 29, 40, 86, 83, 91, 29, 50,
+ -67, 49, 62, 89, -25, 67, 57, -19,
+ -93, -81, -25, 21, 1, -40, -65, -59,
+ -69, 8, 3, -51, -93, 37, 31, -35,
+ -37, -27, 16, -43, -14, 67, 19, -23,
+ -82, 10, 41, -16, 7, 37, -21, -23,
+ -25, 34, 46, 83, 81, 97, 27, 44,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -21, 37, 81, 2, 94, 30, 4, 10,
- -132, -55, -104, 9, -54, -20, 19, -62,
- -121, 71, 17, -76, -52, -35, 36, -26,
- -52, -31, 32, 22, 10, 29, 30, 5,
- -67, -10, 4, -39, -8, 71, 29, 62,
- -90, 18, 23, 21, 63, 112, 76, 40,
+ -18, 42, 81, -1, 93, 30, 8, 11,
+ -134, -56, -108, 8, -57, -21, 17, -71,
+ -127, 65, 12, -77, -56, -35, 36, -30,
+ -52, -32, 30, 24, 13, 32, 33, 1,
+ -65, -5, 6, -32, -11, 80, 31, 61,
+ -89, 19, 27, 20, 64, 113, 83, 39,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 15, 43, 36, 77, 36, 48, -1, -48,
- -141, -75, 28, -64, -28, -8, 14, -95,
- -61, -6, -60, -41, -114, -99, -62, -45,
- -29, -13, -5, 10, -34, 7, 44, 32,
- -22, 3, 12, 82, 44, 57, 42, 83,
- -70, -32, 24, -26, 78, 198, 143, 22,
+ 14, 40, 40, 78, 34, 45, 2, -46,
+ -142, -76, 26, -68, -33, -6, 12, -94,
+ -60, -5, -59, -47, -109, -98, -62, -50,
+ -30, -14, 0, 13, -33, 6, 46, 36,
+ -26, 4, 11, 80, 48, 59, 44, 82,
+ -72, -36, 26, -24, 80, 202, 142, 21,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -101, -93, 25, 54, 6, -45, -31, -7,
- -109, -27, -17, 25, -3, -9, -79, -19,
- -57, -43, -32, -57, -36, -18, -27, -20,
- -20, -34, -13, 39, 13, 33, 22, 10,
- -75, -38, 13, 37, 71, -22, 63, 47,
- -96, 40, 28, 39, 114, 147, 246, 55,
+ -111, -98, 22, 53, 1, -47, -30, -12,
+ -106, -26, -16, 22, -8, -9, -80, -18,
+ -56, -41, -31, -55, -34, -19, -25, -17,
+ -18, -33, -11, 38, 20, 34, 24, 8,
+ -75, -40, 12, 35, 72, -16, 66, 48,
+ -91, 38, 33, 39, 107, 149, 250, 53,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -107, -60, -45, 50, 37, -39, 18, 11,
- -121, -29, 7, -33, 2, -36, -8, -50,
- -106, 108, -15, -40, 13, 18, -92, 10,
- -26, -17, -24, 2, -12, 141, -34, 19,
- 28, 5, 0, 37, -10, 57, -107, 82,
- -43, -3, -12, 22, -1, 155, 149, 96,
+ -116, -59, -42, 52, 36, -42, 17, 10,
+ -119, -32, 6, -33, 8, -33, -12, -52,
+ -106, 107, -18, -42, 9, 17, -93, 11,
+ -25, -17, -21, 2, -13, 145, -33, 12,
+ 31, 6, 3, 36, -11, 57, -104, 86,
+ -42, -2, -15, 18, 1, 157, 153, 99,
0, 0, 0, 0, 0, 0, 0, 0,
],
];
@@ -3440,232 +3440,232 @@ internal static class TunableEvalParameters
[
[
0, 0, 0, 0, 0, 0, 0, 0,
- -156, -300, 17, 30, 15, 17, 36, -4,
- -42, -27, -40, 8, 47, 64, 97, 87,
- -17, -19, -19, -15, 9, 35, 29, 28,
- -14, -10, 2, -5, 1, 19, 25, 29,
- -6, -2, 11, -11, 8, 5, -0, 4,
- -16, 9, 12, 9, 17, 16, 10, 7,
+ -155, -294, 18, 29, 16, 17, 35, -4,
+ -40, -24, -40, 9, 46, 64, 95, 86,
+ -17, -19, -18, -15, 9, 34, 28, 28,
+ -14, -10, 2, -5, 1, 19, 24, 29,
+ -6, -2, 10, -10, 7, 6, -2, 3,
+ -16, 8, 12, 10, 17, 15, 7, 6,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -38, -118, -76, -33, 9, 55, 47, 69,
- -20, -9, -18, -19, 51, 66, 53, 62,
- -10, -10, -21, -26, -8, 10, 33, 28,
- -9, -18, -15, -18, -11, 7, 15, 16,
- -5, -8, -3, -7, 1, -1, -6, -1,
- -8, -5, 10, 12, 4, -2, -8, -16,
+ -37, -115, -76, -31, 9, 55, 47, 68,
+ -20, -9, -17, -17, 52, 67, 53, 61,
+ -9, -10, -20, -25, -7, 11, 34, 28,
+ -9, -19, -15, -18, -11, 8, 16, 16,
+ -7, -8, -4, -7, -0, -1, -6, -3,
+ -9, -7, 9, 12, 4, -4, -11, -18,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -126, -83, -136, -57, -33, 64, 90, 93,
- 4, -1, -45, -15, -17, 40, 94, 63,
- -5, 6, -20, -17, -21, 15, 37, 38,
- -3, -2, -17, -5, -7, 7, 26, 13,
- -0, 8, -6, -6, -6, -2, -0, -5,
- -1, 12, 8, 11, 8, 5, -5, 1,
+ -122, -84, -135, -57, -35, 64, 93, 95,
+ 6, 1, -45, -14, -16, 41, 97, 64,
+ -5, 5, -20, -17, -20, 16, 36, 39,
+ -4, -4, -17, -6, -6, 8, 26, 13,
+ -2, 6, -7, -7, -7, -3, -1, -7,
+ -2, 11, 8, 11, 7, 4, -8, -1,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 27, -76, 2, -117, -34, -42, 101, 28,
- 26, -5, -15, -33, -29, -4, 58, 58,
- 6, -4, -1, -8, -2, -10, 8, 15,
- 6, 1, -6, 4, -4, -8, -4, 4,
- 4, -2, -0, 6, 7, -4, -13, -0,
- 12, -3, -1, 48, 19, -6, -8, -3,
+ 27, -75, -0, -117, -34, -41, 99, 31,
+ 26, -4, -13, -33, -29, -1, 61, 60,
+ 7, -4, 0, -7, -1, -8, 9, 17,
+ 6, 1, -7, 3, -5, -8, -4, 4,
+ 3, -4, -1, 5, 5, -5, -13, -2,
+ 11, -4, -1, 48, 19, -7, -11, -4,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 138, 66, -37, -63, -117, -67, -18, 83,
- 41, 41, 31, -22, -37, 9, -3, 2,
- 25, 25, 17, -2, -9, -3, 2, -6,
- 9, 7, -9, -4, -2, -11, -5, -9,
- 1, -1, -12, -2, -1, -6, -19, -24,
- -2, -2, -13, 6, 22, 1, -7, -13,
+ 141, 70, -37, -64, -116, -68, -16, 82,
+ 41, 43, 33, -21, -36, 10, -1, 4,
+ 25, 24, 17, -2, -8, -1, 3, -5,
+ 9, 7, -9, -3, -1, -10, -5, -9,
+ -1, -3, -14, -4, -4, -7, -20, -27,
+ -4, -4, -14, 6, 22, 0, -10, -15,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 120, 60, 36, -73, -45, -105, -68, -62,
- 71, 86, 27, -23, -39, -18, -25, -27,
- 50, 42, 14, -16, -5, -11, -5, -22,
- 28, 29, 8, -9, -6, -6, -10, -14,
- 15, 10, -3, 2, -3, 0, -15, -12,
- 15, 13, 9, 6, 2, 0, -10, -12,
+ 120, 59, 35, -72, -46, -104, -79, -61,
+ 72, 87, 29, -22, -37, -16, -22, -24,
+ 50, 42, 15, -16, -4, -9, -4, -20,
+ 28, 29, 7, -9, -6, -5, -10, -14,
+ 14, 10, -4, 1, -4, -0, -15, -13,
+ 14, 12, 9, 7, 2, -1, -12, -13,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 160, 159, 129, 34, -20, -82, -161, -103,
- 85, 95, 71, 16, -15, -30, -30, 0,
- 31, 24, 13, -13, -27, -31, -12, -15,
- 8, 9, -7, -18, -25, -22, -26, -22,
- -3, -6, -8, -16, -8, -14, -20, -20,
- -6, -9, -11, -5, -1, -6, -17, -23,
+ 160, 159, 130, 35, -17, -83, -156, -103,
+ 85, 95, 71, 17, -13, -28, -28, 3,
+ 30, 22, 13, -13, -26, -30, -12, -14,
+ 6, 8, -7, -17, -25, -21, -26, -22,
+ -6, -8, -9, -16, -9, -14, -21, -23,
+ -9, -10, -11, -5, -2, -7, -20, -25,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 81, 132, 136, 30, 47, -99, -53, -97,
- 53, 91, 68, 52, 6, -27, -4, -9,
- 37, 27, 15, -10, -20, -41, -26, -28,
- 7, 4, -3, -11, -32, -32, -36, -26,
- -5, -9, -10, -16, -19, -23, -32, -27,
- -8, -15, -12, 18, -13, -4, -21, -37,
+ 82, 131, 139, 30, 49, -98, -54, -94,
+ 54, 91, 68, 54, 8, -24, -3, -7,
+ 36, 25, 15, -11, -19, -40, -25, -26,
+ 6, 3, -4, -11, -32, -31, -35, -26,
+ -7, -11, -10, -15, -20, -23, -32, -29,
+ -9, -16, -12, 18, -14, -5, -23, -39,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -138, -111, -152, -22, 25, 31, 68, 6,
- -71, -48, -65, -30, 44, 50, 72, 74,
- -16, -18, -28, -11, 2, 36, 42, 41,
- 17, 1, 1, -1, -0, 9, 18, 20,
- 14, 11, -2, 5, -1, 10, 1, 6,
- 20, 20, 14, 27, -2, 12, 9, 12,
+ -137, -108, -151, -21, 25, 31, 65, 3,
+ -70, -46, -63, -29, 44, 50, 71, 73,
+ -15, -18, -27, -11, 2, 36, 42, 40,
+ 17, 0, 1, -2, -0, 9, 18, 19,
+ 14, 11, -2, 5, -1, 11, 0, 4,
+ 20, 20, 14, 27, -2, 11, 7, 11,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -68, -126, -82, -112, -12, 26, 69, 36,
- -32, -63, -49, -76, -29, 44, 70, 69,
- 0, -8, -10, -13, -3, 8, 32, 49,
- 9, 13, 2, 14, 1, 7, 14, 25,
- 19, 11, 8, 11, 2, 6, 5, 12,
- 20, 23, 9, 27, 1, 7, 14, 18,
+ -69, -125, -82, -112, -12, 26, 67, 33,
+ -31, -62, -48, -74, -28, 44, 70, 68,
+ 1, -7, -10, -11, -2, 9, 33, 49,
+ 10, 14, 1, 14, 2, 8, 15, 25,
+ 19, 11, 7, 10, 1, 6, 5, 11,
+ 20, 22, 9, 27, 2, 6, 11, 17,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -11, -44, -141, -57, -120, -32, 44, 49,
- 27, -26, -70, -32, -47, -14, 35, 62,
- 14, -0, 0, -3, 2, 3, 18, 34,
- 14, 7, 19, 18, 14, 5, 10, 14,
- 14, 13, 12, 19, 10, 10, 4, 10,
- 18, 14, 16, 25, 11, 7, 10, 13,
+ -13, -46, -142, -56, -121, -34, 44, 48,
+ 27, -25, -70, -30, -46, -13, 35, 62,
+ 15, 1, 1, -3, 2, 4, 20, 35,
+ 15, 8, 19, 17, 13, 6, 11, 15,
+ 13, 13, 11, 18, 9, 10, 4, 9,
+ 18, 13, 16, 25, 10, 6, 7, 12,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -4, -3, -43, -124, -39, -82, -23, 28,
- 51, 40, -26, -69, -31, -59, -22, 21,
- 38, 13, 1, -10, 2, -1, 3, 12,
- 25, 16, 7, 18, 19, 13, 10, 12,
- 20, 6, 9, 18, 16, 11, 6, 8,
- 24, 15, 13, 20, 6, 13, 10, 14,
+ -5, -5, -46, -124, -38, -82, -25, 27,
+ 52, 41, -26, -68, -30, -58, -22, 21,
+ 39, 15, 2, -10, 2, 1, 4, 13,
+ 25, 16, 7, 17, 19, 14, 11, 13,
+ 20, 6, 8, 17, 15, 11, 6, 7,
+ 24, 15, 12, 20, 5, 12, 8, 14,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 2, -31, 42, -65, -106, -63, -123, -51,
- 56, 63, 41, -44, -50, -32, -53, -27,
- 44, 33, 18, 3, -8, -5, 1, -3,
- 31, 20, 16, 13, 14, 11, 13, 7,
- 21, 11, 12, 17, 14, 14, 7, 12,
- 23, 13, 13, 19, 18, 16, 12, 16,
+ 0, -31, 40, -66, -106, -62, -123, -51,
+ 55, 63, 41, -43, -49, -31, -52, -26,
+ 44, 33, 18, 3, -8, -4, 2, -2,
+ 31, 20, 16, 12, 14, 11, 14, 8,
+ 21, 10, 12, 16, 13, 14, 7, 11,
+ 23, 12, 13, 20, 18, 15, 10, 16,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -12, 14, 78, 30, -43, -139, -5, -154,
- 51, 65, 67, 30, -31, -74, -45, -91,
- 42, 37, 26, 1, -3, -23, -8, -25,
- 27, 27, 14, 8, 2, 1, -1, 4,
- 14, 9, 10, 3, 8, 6, -3, 5,
- 10, 11, 6, 6, 18, 15, 3, 13,
+ -13, 13, 77, 30, -43, -139, -4, -152,
+ 49, 65, 68, 31, -30, -73, -42, -89,
+ 41, 36, 26, 1, -3, -22, -7, -23,
+ 26, 26, 13, 8, 2, 2, -0, 5,
+ 13, 8, 9, 3, 7, 6, -3, 4,
+ 9, 10, 6, 6, 18, 14, 1, 12,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 20, 47, 52, 58, 47, -62, -131, -85,
- 36, 61, 65, 62, 8, -38, -84, -46,
- 27, 22, 26, 4, -20, -19, -8, -17,
- 13, 14, 5, -4, -10, -14, -5, -14,
- 4, 1, 0, 2, -5, -4, -8, -9,
- -1, -2, 6, 6, 8, 9, -4, -13,
+ 19, 43, 52, 59, 47, -62, -130, -83,
+ 36, 59, 65, 63, 9, -37, -83, -44,
+ 27, 21, 26, 3, -19, -18, -7, -15,
+ 12, 12, 5, -4, -9, -13, -4, -13,
+ 4, 1, -0, 3, -6, -4, -9, -10,
+ -2, -2, 7, 7, 8, 8, -6, -13,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -62, -14, -38, 13, 70, 19, 26, 7,
- -2, -75, -2, 17, 79, 88, 96, 63,
- -71, -18, -35, -21, 13, 11, 23, 44,
- -31, -33, -34, -33, -16, -1, 10, 20,
- -17, -12, -11, -27, -12, -11, -8, 0,
- -13, 15, -4, -5, -14, -4, -3, 11,
+ -61, -12, -41, 9, 69, 17, 24, 6,
+ -0, -73, -1, 19, 81, 87, 95, 64,
+ -70, -16, -33, -20, 14, 12, 24, 44,
+ -30, -33, -35, -34, -17, -2, 9, 19,
+ -17, -12, -11, -26, -13, -11, -8, -1,
+ -11, 15, -3, -3, -14, -5, -5, 11,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -31, -26, -19, -39, 10, -5, -7, 2,
- 43, 47, 58, 38, 75, 77, 78, 65,
- -12, -4, 11, 19, 13, 14, 18, 26,
- -31, -35, -28, -44, -32, -16, -15, 3,
- -34, -22, -12, -18, -32, -24, -19, -10,
- 2, -31, -3, 6, -30, -14, -13, 4,
+ -28, -26, -19, -40, 8, -5, -7, -0,
+ 46, 50, 61, 38, 75, 77, 77, 64,
+ -11, -1, 10, 18, 11, 14, 19, 25,
+ -30, -35, -29, -46, -34, -17, -16, 1,
+ -34, -21, -13, -21, -32, -24, -20, -10,
+ 4, -32, -1, 8, -27, -13, -15, 4,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -41, -7, 7, -56, 1, 12, -28, -14,
- 35, 43, 21, 16, 39, 39, 73, 66,
- 5, -3, 4, 41, 3, -1, 13, 33,
- -5, -27, -23, -4, -41, -36, -17, 11,
- -11, -45, -15, -1, -19, -23, -17, -9,
- 12, 15, 2, 5, -14, -18, -24, 4,
+ -43, -12, 8, -56, 3, 10, -31, -17,
+ 36, 46, 22, 16, 40, 41, 76, 67,
+ 8, -1, 6, 39, 1, -1, 14, 34,
+ -4, -26, -23, -6, -43, -36, -18, 11,
+ -11, -46, -16, -3, -21, -23, -17, -9,
+ 14, 15, 3, 8, -13, -19, -26, 5,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -28, -45, -33, 2, -1, -14, -16, 0,
- 27, 32, -8, 13, 31, 41, 53, 52,
- 16, -9, -3, 11, 20, -5, -5, 11,
- -0, -11, -23, -18, -16, -31, -25, 2,
- 9, -18, -2, 10, -7, -8, -9, -4,
- 6, 10, 13, 5, -5, -5, -6, -9,
+ -31, -50, -32, -2, -7, -16, -18, -1,
+ 29, 34, -7, 13, 33, 41, 52, 51,
+ 19, -7, -2, 11, 19, -5, -2, 13,
+ 1, -11, -23, -18, -16, -31, -23, 3,
+ 10, -18, -3, 9, -8, -9, -10, -3,
+ 8, 9, 14, 7, -2, -5, -7, -6,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -34, -20, -45, -17, 7, -11, -25, -31,
- 48, 21, 57, -4, 55, 16, 8, 16,
- 31, -11, -10, 20, 17, 15, -21, 6,
- 4, -10, -10, -15, -18, -19, -20, -9,
- 8, -14, -10, -3, 9, -10, -14, -15,
- 14, -7, 2, 20, 27, 8, 2, -6,
+ -36, -23, -45, -18, 8, -11, -26, -32,
+ 48, 23, 59, -3, 54, 16, 8, 18,
+ 33, -9, -9, 18, 17, 15, -19, 6,
+ 4, -10, -11, -18, -20, -19, -21, -8,
+ 8, -15, -11, -6, 8, -11, -15, -15,
+ 17, -6, 2, 23, 29, 8, -0, -4,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -45, 6, -25, -20, -27, 13, -47, -43,
- 61, 57, 33, 47, 34, 23, -3, 29,
- 27, 16, 14, 1, 31, 13, 1, -2,
- 3, -6, -8, -6, -10, -10, -29, -14,
- -10, -15, -15, -20, -0, -5, -25, -17,
- 9, -2, -7, 9, -11, -11, -1, 8,
+ -48, 4, -28, -21, -28, 13, -47, -46,
+ 61, 58, 35, 50, 36, 24, -3, 29,
+ 26, 17, 13, 1, 28, 12, 1, -0,
+ 3, -5, -10, -9, -12, -10, -29, -14,
+ -9, -16, -16, -20, -3, -4, -26, -16,
+ 12, -1, -5, 11, -9, -10, -1, 10,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- -14, -6, -14, 4, 1, 3, 9, -14,
- 51, 42, 61, 64, 50, 16, 36, 22,
- 28, 25, 11, 12, 11, 6, -13, 0,
- -5, 4, -7, -26, -15, -39, -29, -18,
- -4, -19, -25, -18, -17, -4, -25, -25,
- 10, -16, -21, -39, -12, -12, -39, 8,
+ -16, -8, -15, 4, 1, 3, 9, -13,
+ 49, 41, 61, 64, 52, 17, 37, 24,
+ 27, 24, 10, 11, 10, 6, -11, -0,
+ -6, 3, -8, -26, -17, -39, -28, -16,
+ -4, -19, -24, -18, -18, -5, -25, -25,
+ 10, -15, -21, -38, -8, -11, -40, 10,
0, 0, 0, 0, 0, 0, 0, 0,
],
[
0, 0, 0, 0, 0, 0, 0, 0,
- 2, -16, 19, -14, -10, 22, -9, 16,
- 53, 55, 46, 57, 47, 32, 30, 30,
- 48, -1, 21, 26, -17, -13, 3, -5,
- 3, -3, -0, -11, -20, -48, -30, -13,
- -23, -18, -19, -18, -16, -20, -13, -35,
- 7, -12, -10, -25, -24, -22, -15, -38,
+ 1, -20, 18, -12, -10, 23, -8, 12,
+ 53, 54, 45, 58, 48, 33, 30, 31,
+ 48, -2, 21, 26, -16, -12, 4, -5,
+ 3, -3, -1, -12, -20, -48, -29, -9,
+ -24, -19, -19, -18, -16, -20, -13, -35,
+ 7, -12, -10, -23, -23, -23, -17, -37,
0, 0, 0, 0, 0, 0, 0, 0,
],
];
@@ -3673,2340 +3673,2340 @@ internal static class TunableEvalParameters
internal static readonly short[][] MiddleGameEnemyKnightTable =
[
[
- -97, -9, 151, -13, -37, -109, -57, -50,
- 63, 37, 40, 54, 185, 42, -55, -150,
- 4, 59, 129, 62, 52, 8, 31, 55,
- 4, 58, 30, 68, 37, -6, 23, -17,
- 39, 23, 40, 16, 7, 25, 27, -8,
- -4, -0, -19, -0, -31, -8, -39, -19,
- -31, -56, -20, -9, -2, -17, -36, -63,
- 14, -90, -76, -9, -36, -58, -93, -59,
- ],
- [
- -102, -52, -108, -18, -38, 15, -26, -103,
- -24, -1, 31, 31, 47, 44, -29, -47,
- -27, 39, 77, 63, 35, 19, 26, -15,
- 27, 32, 12, 29, 1, 23, 11, -10,
- -2, 11, 32, 7, 19, 21, 10, -13,
- -16, 17, 5, 8, 6, 12, -19, -17,
- 37, 8, -1, 4, 4, 8, 29, -25,
- 11, -21, -23, -17, -9, -9, -10, -31,
- ],
- [
- -13, -41, -43, -35, -61, -67, -95, -96,
- 40, 15, 6, 30, 105, 61, -18, 6,
- 49, 46, 93, -120, 72, 37, 15, 22,
- 34, -2, 44, -7, 35, -4, 10, 10,
- 2, 7, 1, 10, 14, 6, 2, -3,
- -10, 2, -4, 7, 2, 8, -8, -22,
- 2, -15, -12, 2, -1, 13, 5, -16,
- 17, -23, -20, -31, -8, -5, -33, -20,
- ],
- [
- -39, -28, -40, -11, 10, 26, -61, 83,
- 47, -137, -4, -65, 16, 28, 32, -21,
- -15, 70, 43, 75, 39, 39, 77, -44,
- 10, 51, 29, 48, 21, 16, 27, -12,
- -28, 6, -19, 3, 35, 13, 16, 17,
- -4, -10, -12, 2, -14, -3, -28, -13,
- -49, 9, -32, -5, 10, -8, 16, 27,
- -23, -58, -31, -44, -5, -13, -16, -51,
- ],
- [
- -11, -3, 25, -25, -44, -43, 33, -78,
- 15, 0, -34, 119, 27, 39, 9, 53,
- 41, 32, -3, -69, 47, -61, 67, 1,
- 17, -7, 15, 18, 11, 2, 16, -1,
- -1, -21, -4, -6, -3, 14, -13, 5,
- -9, -6, -6, -9, -2, -5, -4, -2,
- -3, 0, -11, 6, 1, 3, -0, -4,
- -37, -12, -22, -15, 5, -11, -16, -21,
- ],
- [
- -33, 11, -22, 38, 78, -33, -15, -73,
- -12, -33, 37, 67, 17, 88, -2, -54,
- -74, 38, 43, 75, -74, 63, -53, 13,
- -7, 8, -16, 31, 6, 52, 43, 60,
- -25, -19, 10, 2, 36, 17, 30, 4,
- -29, -8, -10, -21, -10, 9, 4, -15,
- -36, 30, -4, -21, 3, -3, 6, -6,
- -59, -41, -2, -22, 8, -36, -33, -26,
- ],
- [
- -173, -165, -58, -70, -52, -96, -57, 32,
- -26, -12, 28, 42, 44, 76, 46, 79,
- -1, 10, -1, 37, 80, -13, 42, 120,
- -3, 12, 24, 11, 11, 13, 16, 12,
- -2, -4, 14, 4, 18, 12, 7, 6,
- -4, -4, 4, -2, 4, 7, 5, 0,
- -14, -9, -1, 7, 6, 17, 8, 8,
- -24, -5, -13, -13, 9, -9, -26, -17,
- ],
- [
- -124, -87, -90, 41, 5, 44, -113, -51,
- -69, -28, -7, 18, -24, 72, 36, 125,
- 11, 8, 6, 67, 78, 96, 83, -3,
- -27, 3, 19, 26, 41, 42, 37, 16,
- -25, -29, 13, 4, 35, 23, 31, 12,
- -33, -20, -6, -1, -0, 18, -1, 6,
- -32, -11, -8, -1, -2, 1, 7, 3,
- -43, -34, -48, -35, 4, -14, -37, -27,
- ],
- [
- -125, -56, -7, -37, -21, -53, -47, -77,
- -42, -41, 64, 79, 59, 39, -70, -25,
- 26, 27, 65, -28, 67, 46, 8, -31,
- 72, 44, 147, 42, 55, -0, -28, -28,
- 33, 74, -5, 44, 40, 26, -21, 4,
- -3, 13, 3, -5, 3, -9, -14, -29,
- 41, -40, 6, 21, 0, 20, -48, -53,
- -129, 6, -46, -24, 48, -19, -81, 19,
- ],
- [
- 4, 8, 59, 26, 67, -87, 9, -35,
- 18, 19, 11, -46, 35, 22, -71, -7,
- -52, 5, 123, 87, -8, 45, -15, -66,
- 40, 79, 4, 62, 47, 7, 40, -34,
- -1, 7, 33, 33, 27, -15, 34, -21,
- -65, 21, -15, -2, -26, -20, -21, -49,
- -23, 37, -6, -25, -9, -26, 13, -11,
- 31, -28, -42, -46, -60, -55, -79, 14,
- ],
- [
- -135, -63, -23, 8, -14, -20, -27, -8,
- 37, 61, -6, -9, 4, 2, -5, 13,
- 34, 32, 11, 70, 88, 110, 66, 4,
- 12, -2, 77, 38, 93, 38, 65, -33,
- -7, 6, 28, 17, 28, -2, 27, -23,
- -9, -0, -14, 15, -17, -13, -44, -15,
- -62, -72, -16, -14, -13, -42, -20, -19,
- 27, -42, -39, -14, -26, -81, -47, -15,
- ],
- [
- -39, 5, -39, -21, 19, 67, -63, -78,
- -38, -20, 54, 73, -6, -67, 9, 46,
- -45, 34, 39, 47, -12, 66, 17, 16,
- -14, 1, 50, 76, 47, 124, 20, 1,
- 7, 51, 40, 12, 57, 31, 27, 5,
- -35, -20, -11, -4, -26, -7, -32, 1,
- -18, -53, 4, -4, -10, -8, -14, -39,
- -45, -39, -59, -29, -38, -45, -35, -30,
- ],
- [
- -24, -82, -88, 38, -103, 24, -74, -39,
- -33, -13, 15, 29, -2, 31, 49, 84,
- -107, 5, 29, -5, 35, 54, 63, 109,
- 31, -6, 50, 35, 103, 58, 124, 33,
- -17, 13, 0, 32, 43, 34, 38, 23,
- -19, -13, -19, -10, 9, -8, -6, -27,
- -83, -10, -15, -9, -3, -26, 5, -15,
- -61, -43, -62, -28, -13, -51, -20, -61,
- ],
- [
- -100, -131, -59, 24, 39, 54, -54, -50,
- -8, -40, 8, 35, 18, 52, -35, 13,
- 9, 0, 3, 60, 63, 89, 96, -25,
- -27, 13, 19, 41, 34, 149, 36, 78,
- -40, -1, 9, -4, 41, 15, 56, -15,
- -47, -30, -14, -8, 8, -0, -26, -19,
- -30, -29, -17, -9, -3, -4, -8, -10,
- -22, -34, -39, -23, -24, -28, -30, -18,
- ],
- [
- -121, -27, -77, -115, 54, 31, 45, -63,
- -120, -48, -21, 50, 41, 17, 45, 59,
- -12, -4, -7, 55, 124, 168, 63, 20,
- -31, 5, 17, 11, 29, 50, 172, 55,
- -25, -10, 3, -1, 26, 23, 13, 9,
- -50, -31, -13, -12, 7, -6, -3, -13,
- -19, -20, -33, -9, 1, -13, -1, -6,
- -81, -38, -49, -13, -12, -27, -6, -53,
- ],
- [
- -25, -30, -71, -11, -14, -43, -18, -31,
- -0, 34, 29, 80, 71, -108, -46, -83,
- -1, 17, 27, 73, 63, -121, -98, -8,
- 41, 51, 91, 229, 18, -87, 12, -31,
- 6, 61, 66, 48, 61, -16, -53, 4,
- 9, 138, 107, -15, 3, -52, -17, -17,
- 24, -34, 20, -8, -73, 3, -61, -96,
- 13, 21, 40, 1, -47, -61, -88, -1,
- ],
- [
- -13, 23, -43, 3, -7, -29, -34, 19,
- -33, 0, -22, 4, -19, -7, -52, -61,
- 8, -1, -49, -50, -11, -91, -42, -36,
- 13, 6, 8, 28, 94, -12, -13, 19,
- -69, 2, -27, 38, 1, 10, 36, -24,
- -48, 23, 17, 5, 89, -14, -22, 19,
- -6, 43, -15, 45, 65, 66, 4, -6,
- -8, 46, 65, 13, -7, 60, 4, -6,
- ],
- [
- -42, -6, 20, -1, -50, -21, -36, -4,
- 9, -42, -10, -63, 24, -101, -26, 18,
- 5, -12, 25, -23, 10, 7, 6, 14,
- 13, -23, -66, 3, 26, -12, -106, -14,
- 6, -20, -17, 49, -2, 56, -13, -9,
- 12, 36, -21, 96, 40, 80, 26, -7,
- -19, -3, 9, -55, 13, 33, -19, 23,
- 18, 68, 10, 49, 14, -9, 40, -5,
- ],
- [
- -66, -62, -30, -22, -20, -18, 9, -11,
- -64, -38, -37, -35, -17, 3, -6, -25,
- -24, -26, -38, 7, 31, -2, -25, -19,
- 27, -11, -13, 111, -1, -49, 13, 53,
- -16, -3, 32, 11, 38, 26, -15, 17,
- -13, 7, 109, 6, 19, 55, 49, 5,
- 25, 4, -22, 7, 13, -12, -29, -7,
- -14, -12, 39, 34, 49, 19, 0, -19,
- ],
- [
- -17, -6, -19, -37, -17, -28, 8, -11,
- -0, -14, -25, -45, 5, -70, 3, -7,
- -36, 25, -10, 26, -10, -37, -9, -37,
- 19, -4, 46, -27, -38, 0, -33, -0,
- 31, -107, 33, 53, -4, 22, 36, 63,
- -33, 11, 50, 61, -26, 40, 16, 52,
- -30, 2, 54, 36, 25, -23, 8, 3,
- 3, -49, 28, 26, -11, 56, -45, 27,
- ],
- [
- -6, -5, -31, -32, -42, -3, -26, 3,
- 6, -32, -68, -21, -23, 3, -6, 6,
- -34, -50, -37, -30, -65, -38, 43, 24,
- 9, -35, 12, -17, 9, 18, -14, 1,
- 42, -0, -20, 55, 28, 4, -33, 34,
- -20, 1, 62, 19, 71, 68, 39, 32,
- -7, -12, 1, -44, -32, 25, 1, -20,
- 8, -5, 14, 56, 60, 54, 12, -10,
- ],
- [
- 32, -33, -3, -35, -23, -11, -17, -19,
- -20, 23, -67, 9, 17, 19, -27, -39,
- -6, -41, 37, -28, 87, -83, 35, -8,
- -63, -14, -22, -7, 75, 36, 13, 11,
- -13, -26, -46, 1, 38, -5, -0, 63,
- -31, -21, 16, 155, 25, 29, 84, -17,
- -25, -31, 21, -101, 10, 6, 29, -11,
- -3, -42, 23, 20, -42, 19, 61, -15,
- ],
- [
- 10, -38, -29, 2, 8, -26, 2, 14,
- 8, -3, 1, -21, -34, -25, 3, -34,
- -15, -90, 31, -24, 51, 43, -36, -9,
- -56, -47, 23, 50, 133, -26, 44, 28,
- -3, -17, -27, 23, 56, 52, 7, 30,
- -25, -65, 40, 63, 41, 24, 52, 4,
- -19, -28, -12, -61, 11, -22, -6, -4,
- 1, -55, -34, 46, -13, -36, 34, 1,
+ -96, -8, 150, -13, -37, -110, -57, -49,
+ 64, 37, 39, 52, 185, 43, -56, -148,
+ 6, 59, 128, 61, 52, 8, 30, 56,
+ 3, 57, 29, 67, 36, -6, 22, -16,
+ 40, 23, 39, 15, 6, 24, 26, -9,
+ -4, 0, -19, -0, -29, -8, -41, -19,
+ -31, -57, -19, -8, -1, -17, -35, -63,
+ 15, -90, -77, -8, -36, -57, -92, -60,
+ ],
+ [
+ -101, -52, -107, -16, -39, 17, -25, -102,
+ -24, 1, 31, 31, 46, 44, -29, -46,
+ -27, 38, 76, 61, 34, 18, 26, -15,
+ 27, 32, 11, 28, -1, 23, 10, -10,
+ -2, 11, 32, 7, 18, 21, 10, -13,
+ -16, 17, 4, 9, 6, 12, -20, -17,
+ 37, 8, -0, 4, 5, 9, 29, -25,
+ 11, -20, -23, -16, -9, -9, -9, -31,
+ ],
+ [
+ -12, -40, -43, -35, -62, -64, -96, -96,
+ 40, 13, 5, 30, 108, 63, -16, 6,
+ 49, 45, 94, -119, 73, 37, 15, 23,
+ 34, -2, 44, -8, 34, -4, 9, 10,
+ 2, 7, -0, 9, 13, 6, 2, -3,
+ -10, 2, -5, 7, 2, 8, -9, -22,
+ 2, -15, -12, 2, -0, 13, 5, -16,
+ 18, -22, -21, -30, -8, -6, -32, -20,
+ ],
+ [
+ -40, -29, -37, -12, 10, 26, -62, 85,
+ 48, -135, -4, -67, 15, 30, 34, -19,
+ -15, 72, 42, 73, 39, 38, 76, -44,
+ 9, 51, 28, 46, 19, 16, 26, -12,
+ -28, 5, -20, 2, 34, 12, 16, 18,
+ -5, -10, -13, 2, -14, -2, -30, -12,
+ -48, 10, -32, -5, 11, -7, 18, 27,
+ -22, -59, -31, -45, -4, -14, -15, -49,
+ ],
+ [
+ -10, -4, 26, -24, -45, -45, 33, -78,
+ 17, 1, -34, 120, 27, 40, 11, 53,
+ 40, 33, -2, -68, 47, -59, 67, 1,
+ 18, -7, 15, 17, 10, 1, 15, -1,
+ -1, -21, -5, -6, -4, 14, -13, 5,
+ -10, -6, -7, -10, -2, -5, -6, -2,
+ -3, -0, -10, 7, 1, 3, 0, -5,
+ -37, -11, -22, -15, 5, -12, -15, -21,
+ ],
+ [
+ -32, 11, -22, 38, 81, -33, -14, -73,
+ -12, -35, 36, 67, 16, 86, -5, -55,
+ -75, 38, 44, 73, -76, 61, -53, 12,
+ -7, 8, -18, 30, 5, 52, 42, 59,
+ -24, -20, 9, 2, 36, 17, 30, 4,
+ -29, -8, -11, -21, -9, 10, 3, -14,
+ -35, 31, -2, -20, 5, -3, 7, -5,
+ -57, -40, -2, -21, 8, -37, -31, -26,
+ ],
+ [
+ -172, -166, -59, -70, -50, -97, -57, 32,
+ -25, -12, 28, 42, 45, 77, 47, 79,
+ -0, 11, -1, 36, 80, -12, 42, 120,
+ -3, 12, 23, 11, 10, 12, 15, 12,
+ -1, -3, 13, 4, 17, 13, 6, 6,
+ -4, -3, 3, -2, 5, 7, 4, -0,
+ -13, -8, -1, 7, 6, 17, 8, 8,
+ -24, -5, -13, -13, 9, -10, -25, -17,
+ ],
+ [
+ -122, -85, -90, 41, 6, 42, -111, -51,
+ -69, -28, -6, 18, -24, 68, 37, 127,
+ 12, 8, 7, 66, 78, 95, 83, -3,
+ -27, 3, 19, 26, 41, 42, 36, 16,
+ -25, -29, 14, 4, 36, 24, 31, 11,
+ -34, -20, -7, -2, -0, 18, -3, 5,
+ -31, -10, -8, -1, -1, 1, 7, 3,
+ -44, -35, -48, -34, 3, -14, -37, -26,
+ ],
+ [
+ -126, -55, -8, -37, -23, -52, -47, -78,
+ -42, -42, 64, 80, 60, 41, -69, -25,
+ 26, 27, 65, -27, 68, 46, 9, -31,
+ 72, 43, 147, 43, 55, -1, -28, -25,
+ 32, 75, -4, 44, 38, 27, -22, 4,
+ -4, 13, 2, -4, 4, -8, -16, -31,
+ 42, -41, 6, 22, 1, 21, -45, -52,
+ -132, 5, -47, -25, 48, -20, -80, 18,
+ ],
+ [
+ -2, 6, 61, 24, 66, -88, 8, -36,
+ 22, 18, 14, -44, 37, 24, -70, -9,
+ -54, 4, 121, 87, -8, 45, -13, -65,
+ 39, 77, 2, 59, 46, 6, 41, -33,
+ -3, 6, 33, 32, 26, -15, 34, -21,
+ -62, 21, -15, -1, -24, -19, -21, -50,
+ -22, 39, -4, -24, -9, -28, 12, -10,
+ 36, -28, -40, -47, -60, -55, -80, 15,
+ ],
+ [
+ -138, -63, -22, 10, -13, -20, -28, -8,
+ 37, 62, -7, -8, 4, 2, -7, 15,
+ 34, 31, 10, 70, 87, 112, 66, 4,
+ 10, -3, 76, 37, 92, 36, 66, -31,
+ -7, 7, 27, 17, 27, -1, 25, -22,
+ -9, -0, -13, 15, -17, -12, -45, -15,
+ -62, -72, -17, -13, -12, -41, -20, -18,
+ 25, -41, -38, -15, -27, -82, -45, -12,
+ ],
+ [
+ -39, 6, -38, -22, 19, 66, -65, -82,
+ -38, -20, 55, 73, -6, -67, 10, 49,
+ -45, 32, 42, 45, -12, 63, 16, 15,
+ -13, 1, 50, 75, 48, 122, 19, 1,
+ 7, 50, 40, 11, 56, 31, 27, 5,
+ -35, -20, -12, -4, -25, -6, -33, 3,
+ -16, -52, 3, -3, -9, -6, -14, -39,
+ -49, -39, -59, -29, -37, -47, -33, -29,
+ ],
+ [
+ -23, -82, -87, 37, -104, 23, -75, -40,
+ -33, -13, 16, 30, -1, 33, 50, 84,
+ -108, 6, 30, -5, 35, 53, 63, 110,
+ 32, -6, 50, 36, 102, 58, 122, 34,
+ -17, 13, -0, 32, 41, 34, 38, 22,
+ -20, -13, -20, -11, 9, -7, -8, -27,
+ -84, -9, -14, -8, -2, -26, 6, -15,
+ -63, -43, -63, -27, -13, -52, -20, -64,
+ ],
+ [
+ -97, -130, -60, 25, 40, 54, -53, -51,
+ -9, -39, 9, 36, 18, 53, -36, 10,
+ 10, 1, 3, 60, 63, 88, 95, -25,
+ -26, 13, 18, 41, 33, 148, 34, 77,
+ -40, -1, 9, -4, 40, 16, 56, -15,
+ -47, -30, -15, -8, 9, 0, -28, -19,
+ -30, -29, -17, -9, -2, -4, -7, -9,
+ -22, -35, -39, -23, -24, -29, -29, -18,
+ ],
+ [
+ -120, -26, -76, -115, 55, 29, 46, -63,
+ -120, -49, -20, 50, 42, 18, 46, 60,
+ -12, -4, -7, 54, 123, 168, 63, 19,
+ -32, 5, 16, 10, 28, 49, 171, 55,
+ -24, -10, 3, -2, 25, 22, 13, 8,
+ -50, -31, -14, -12, 7, -6, -5, -13,
+ -19, -19, -32, -9, 2, -13, 0, -6,
+ -80, -38, -49, -13, -12, -27, -4, -53,
+ ],
+ [
+ -27, -28, -70, -7, -15, -43, -20, -31,
+ -0, 34, 29, 79, 73, -105, -45, -84,
+ 2, 14, 27, 73, 62, -123, -96, -9,
+ 40, 49, 97, 229, 20, -85, 14, -30,
+ 9, 62, 67, 49, 56, -21, -52, 5,
+ 9, 140, 105, -16, 2, -52, -21, -19,
+ 22, -35, 19, -7, -74, 2, -62, -95,
+ 11, 28, 41, -1, -49, -58, -88, -1,
+ ],
+ [
+ -15, 24, -43, 2, -6, -28, -35, 17,
+ -34, 0, -23, 4, -20, -8, -53, -62,
+ 7, -1, -49, -51, -10, -87, -42, -36,
+ 13, 8, 11, 29, 95, -12, -16, 18,
+ -67, 2, -29, 38, 5, 8, 34, -21,
+ -52, 22, 23, 4, 88, -14, -21, 18,
+ -7, 40, -16, 42, 65, 69, 2, -4,
+ -10, 44, 70, 13, -8, 66, 5, -7,
+ ],
+ [
+ -43, -7, 21, -1, -51, -22, -36, -3,
+ 9, -40, -6, -66, 24, -103, -26, 18,
+ 3, -13, 24, -22, 10, 5, 6, 15,
+ 13, -22, -65, 8, 28, -12, -105, -15,
+ 7, -22, -19, 50, -1, 55, -17, -13,
+ 10, 38, -21, 103, 37, 80, 29, -7,
+ -19, -5, 7, -55, 13, 35, -21, 22,
+ 17, 68, 8, 50, 18, -3, 36, -6,
+ ],
+ [
+ -61, -63, -33, -23, -19, -18, 8, -9,
+ -62, -38, -36, -35, -21, 3, -9, -26,
+ -24, -28, -39, 11, 32, -1, -25, -15,
+ 29, -11, -16, 109, -2, -49, 8, 56,
+ -15, -4, 32, 11, 36, 26, -18, 17,
+ -15, 7, 111, 7, 21, 57, 46, 4,
+ 25, 1, -22, 8, 12, -13, -30, -6,
+ -14, -6, 41, 35, 53, 18, -0, -18,
+ ],
+ [
+ -14, -7, -18, -37, -18, -26, 10, -11,
+ 1, -15, -24, -39, 6, -73, 3, -8,
+ -37, 26, -9, 27, -13, -35, -6, -36,
+ 17, -2, 45, -20, -39, -1, -34, -3,
+ 29, -107, 36, 51, -5, 22, 35, 67,
+ -34, 13, 46, 59, -28, 39, 16, 52,
+ -30, -0, 51, 36, 23, -26, 6, 6,
+ 2, -48, 25, 25, -10, 57, -44, 24,
+ ],
+ [
+ -6, -5, -32, -32, -44, -4, -26, 2,
+ 4, -28, -68, -23, -22, 2, -5, 3,
+ -35, -56, -41, -27, -63, -39, 42, 22,
+ 9, -41, 12, -18, 9, 18, -10, -1,
+ 41, 2, -18, 55, 27, 3, -28, 35,
+ -21, -3, 67, 22, 77, 77, 40, 31,
+ -8, -15, 4, -51, -31, 29, 2, -21,
+ 7, -8, 18, 54, 61, 53, 10, -11,
+ ],
+ [
+ 31, -33, -1, -33, -23, -12, -16, -19,
+ -21, 27, -69, 10, 19, 18, -30, -38,
+ -5, -44, 37, -30, 89, -82, 33, -8,
+ -56, -19, -25, -7, 72, 33, 14, 11,
+ -11, -28, -44, -0, 37, -6, -1, 66,
+ -29, -23, 18, 154, 24, 27, 86, -15,
+ -25, -31, 19, -103, 12, 9, 29, -11,
+ -3, -39, 20, 23, -40, 20, 55, -14,
+ ],
+ [
+ 9, -38, -29, 2, 7, -26, 0, 14,
+ 9, -3, 0, -21, -34, -24, 4, -35,
+ -15, -90, 30, -22, 50, 41, -37, -8,
+ -56, -50, 21, 51, 129, -27, 49, 27,
+ -4, -17, -22, 24, 55, 52, 8, 29,
+ -22, -62, 37, 62, 40, 23, 55, 3,
+ -20, -26, -13, -54, 11, -20, -8, -6,
+ 3, -56, -34, 48, -13, -38, 35, 1,
],
];
internal static readonly short[][] EndGameEnemyKnightTable =
[
[
- -96, -25, -5, 45, 50, 22, -107, 31,
- -9, -51, 13, -17, -30, 7, 19, 68,
- 17, 64, -59, 6, 23, 27, -51, -52,
- 8, 52, 33, -5, -1, -3, 2, -14,
- 21, 16, -0, 9, 27, -11, -56, -25,
- 6, -25, -3, -8, 23, -40, 16, -43,
- 85, 9, -13, -23, 0, -6, 31, 6,
- -39, 2, 4, -10, 7, 44, -5, 42,
- ],
- [
- -48, -45, 58, 26, 8, -31, -6, -41,
- -42, 22, 4, 24, -9, -3, 19, 28,
- -43, 22, 29, 14, 19, 20, 5, 13,
- 14, 3, 34, 15, 50, -2, -2, 12,
- 31, -2, 16, 22, 15, -4, 20, 10,
- -7, -8, 8, 13, -20, -11, -7, -10,
- -78, -26, -10, -1, 2, -27, -36, 18,
- 25, -31, -12, 6, 19, -15, -34, -39,
- ],
- [
- -218, -38, -74, -29, 26, 26, -27, 96,
- -32, 20, 12, -20, -100, 16, 49, -26,
- -13, -52, -8, -20, 3, 19, 7, -38,
- 6, 14, 7, 28, 32, 32, 27, -4,
- 6, 33, 20, 20, 24, 39, 8, 21,
- -7, 3, 7, 2, 11, 5, 9, -8,
- -50, 17, -13, 9, 7, -12, -21, 32,
- 14, 31, 7, 24, 39, -9, 5, 6,
- ],
- [
- -60, 13, -70, -30, 4, 45, 15, 2,
- -6, -54, 30, -69, 5, -19, -4, 27,
- 59, -7, -79, 6, -17, 11, -31, 25,
- 18, -9, 14, 30, 11, 17, 33, 0,
- 29, 46, 30, 6, 16, 17, 13, 19,
- -18, 18, 8, -9, 3, 3, 20, -14,
- 46, -45, -17, -8, -14, 26, -82, -41,
- 16, 65, -23, 41, -14, -5, -17, -26,
- ],
- [
- 135, 15, 32, -46, -62, -53, 13, -46,
- -20, 31, -62, -79, -3, 3, -27, -5,
- -60, 4, 32, -56, 22, -57, -22, -8,
- 14, 52, 23, 29, 15, 34, 11, 35,
- 21, 5, 34, 22, 38, -11, 17, 24,
- 10, -1, 3, 1, -3, -5, -4, -24,
- 7, -12, -16, 3, -14, -3, -5, 43,
- 44, 16, 3, 2, -41, -17, -17, -19,
- ],
- [
- 12, 37, 38, -4, -11, -55, -10, -4,
- 13, 27, 25, 13, -26, -51, 27, -106,
- 48, 0, 8, -5, -25, -4, -69, -17,
- 25, 7, 39, 13, 19, 16, 14, -11,
+ -96, -27, -5, 45, 50, 23, -108, 31,
+ -8, -53, 13, -15, -31, 7, 20, 66,
+ 15, 62, -59, 5, 22, 27, -51, -54,
+ 7, 53, 33, -5, -1, -5, 2, -14,
+ 21, 16, -1, 9, 27, -10, -56, -24,
+ 6, -24, -3, -8, 22, -40, 17, -43,
+ 86, 10, -13, -22, -0, -6, 30, 6,
+ -40, 3, 4, -8, 7, 44, -4, 43,
+ ],
+ [
+ -46, -46, 56, 24, 11, -33, -6, -40,
+ -43, 17, 6, 24, -8, -1, 19, 27,
+ -42, 23, 29, 15, 20, 21, 6, 13,
+ 15, 3, 35, 16, 51, -2, -2, 12,
+ 31, -2, 16, 23, 16, -4, 21, 11,
+ -7, -8, 9, 12, -20, -11, -8, -10,
+ -78, -27, -11, -0, 2, -27, -36, 18,
+ 25, -31, -12, 5, 19, -15, -33, -39,
+ ],
+ [
+ -218, -39, -74, -30, 28, 24, -26, 96,
+ -34, 20, 12, -18, -98, 16, 47, -27,
+ -12, -52, -8, -20, 2, 19, 7, -38,
+ 7, 13, 7, 28, 33, 32, 27, -4,
+ 6, 34, 20, 20, 24, 38, 7, 21,
+ -7, 3, 6, 3, 12, 6, 9, -8,
+ -49, 18, -13, 10, 7, -12, -21, 32,
+ 13, 31, 8, 23, 39, -9, 5, 8,
+ ],
+ [
+ -60, 15, -71, -30, 6, 44, 17, 2,
+ -5, -53, 30, -70, 7, -18, -5, 25,
+ 60, -8, -78, 7, -15, 10, -30, 26,
+ 18, -8, 14, 31, 11, 17, 33, 0,
+ 30, 46, 30, 6, 16, 16, 12, 18,
+ -16, 17, 8, -8, 4, 2, 19, -15,
+ 45, -44, -16, -8, -14, 27, -82, -43,
+ 14, 66, -24, 42, -16, -5, -17, -33,
+ ],
+ [
+ 137, 14, 31, -46, -63, -52, 15, -44,
+ -23, 30, -61, -79, -2, 2, -29, -6,
+ -58, 4, 32, -59, 22, -56, -22, -8,
+ 14, 52, 23, 30, 16, 35, 11, 35,
+ 21, 6, 34, 22, 38, -10, 18, 24,
+ 11, -2, 3, 2, -3, -4, -3, -26,
+ 5, -12, -15, 3, -14, -3, -4, 44,
+ 44, 15, 3, 1, -41, -16, -17, -20,
+ ],
+ [
+ 12, 36, 39, -5, -11, -55, -12, -4,
+ 12, 27, 26, 16, -25, -49, 28, -107,
+ 48, 1, 7, -4, -27, -3, -69, -16,
+ 25, 8, 40, 14, 19, 17, 14, -9,
17, 18, 11, 20, 21, 4, 9, -5,
- -4, -3, 1, 15, 3, -17, -17, 19,
- 1, 9, 5, 4, -5, 0, -39, -34,
- -17, 7, -12, 22, -15, -13, 3, 8,
- ],
- [
- 45, 27, 42, 5, 33, -37, -138, -174,
- 22, 16, -1, 16, -84, 0, -13, -38,
- -5, 24, 35, 24, -1, 106, 22, -43,
- 18, 12, 16, 39, 21, 32, 15, 21,
- 11, 5, 13, 23, 26, 14, 8, 4,
- -9, -7, -0, 16, 16, -3, -11, -18,
- 3, 6, -1, -4, -5, -24, -10, -4,
- -16, -17, -9, 13, 4, -11, -16, -55,
- ],
- [
- 55, -27, 26, 31, 25, -17, -83, -61,
- 31, 0, 10, 8, 54, 49, -5, -15,
- -22, 0, 19, -1, -0, 1, 42, 61,
- -10, -10, -6, -1, 39, 10, 54, 25,
- -16, 8, -1, 5, 16, -5, 17, 17,
- -35, -8, -23, -2, -22, -16, -9, -11,
- -10, 6, -21, -18, 8, -27, -12, -38,
- -6, -49, 5, 6, -13, -12, -11, 0,
- ],
- [
- -142, -29, 16, -22, -18, 43, 6, -46,
- -51, -6, 15, -7, 16, 14, 47, 5,
- -35, 13, -15, 32, 11, 3, -1, 15,
- -10, -13, -21, 4, 4, 27, 14, 18,
- 10, -7, 18, -7, 5, -1, 8, -14,
- -1, -7, 15, 12, 20, 5, -0, -17,
- -5, 27, 8, -5, 1, 9, 32, 16,
- 53, -60, 17, 20, -24, -14, 16, -14,
- ],
- [
- -145, -52, -44, 25, -0, 5, 39, -14,
- -55, -29, -12, 26, -2, 2, 37, 5,
- -26, -18, -21, -3, 14, -16, 4, 34,
- -8, -26, 9, 0, 6, 9, -13, 25,
- 6, 15, 0, -3, 5, 14, -9, 9,
- 31, -1, 13, 6, 18, 11, -3, 1,
- 18, 4, 9, 19, 4, 2, -14, -9,
- -12, -11, 11, 16, 32, 10, 43, 9,
- ],
- [
- -47, -47, -34, -33, -3, -6, 35, -16,
- -35, -24, -14, -27, 5, 2, -1, 8,
- -8, -13, 7, -9, -18, -35, 1, -4,
- 9, -5, 2, 0, -6, 3, -14, 13,
- 20, 5, 4, 9, 6, 7, 5, 5,
- -0, 6, 11, 16, 8, 10, 16, 0,
- 41, 34, 11, 13, 16, 8, 13, 19,
- -15, 22, 22, -4, 16, 13, 18, -39,
- ],
- [
- -10, -27, -7, 10, -28, -26, -4, -57,
- 17, 13, -31, -30, 4, -17, -25, -18,
- 21, -10, -12, -9, 10, -8, -23, -2,
- 25, 16, 2, -2, -4, -16, -19, 5,
- 13, 4, -4, 12, 4, -3, -7, -3,
- 16, 15, 11, 12, 11, -2, 6, 4,
- 1, 27, -2, 10, 8, 17, 24, 29,
- 0, 28, 18, 1, 13, 2, 14, -15,
- ],
- [
- -21, 43, 48, -20, 51, -18, -29, -96,
- 15, 15, 1, -9, -12, -17, -42, -23,
- 44, 3, 13, 4, 4, -29, -2, -42,
- 1, 14, 2, -7, -10, -13, -25, -26,
- 12, -4, 13, 5, 8, -2, 1, -4,
- -6, 2, 8, 20, 7, 2, -11, 5,
- 26, 17, 5, 8, 13, 9, 11, -9,
- -14, 25, 11, 5, 4, 12, -5, 6,
- ],
- [
- 50, 20, 13, 5, 8, -30, 32, -147,
- 3, 12, 9, 3, -3, 12, -17, -45,
- 5, 2, 14, 8, -5, -8, -26, -13,
- 7, -6, 6, 4, 2, -7, 6, -28,
+ -4, -3, 1, 15, 3, -17, -17, 18,
+ 1, 9, 4, 4, -6, 0, -39, -34,
+ -21, 7, -12, 22, -15, -13, 2, 8,
+ ],
+ [
+ 43, 29, 44, 6, 32, -37, -140, -176,
+ 20, 15, -1, 16, -87, -1, -14, -38,
+ -5, 24, 36, 24, 1, 107, 23, -44,
+ 18, 11, 16, 40, 22, 33, 15, 22,
+ 9, 5, 14, 23, 26, 14, 8, 4,
+ -9, -7, 1, 17, 16, -2, -11, -18,
+ 3, 6, -1, -4, -5, -24, -9, -3,
+ -17, -16, -9, 12, 4, -11, -16, -54,
+ ],
+ [
+ 54, -27, 27, 32, 26, -16, -86, -62,
+ 28, -2, 10, 10, 54, 47, -6, -16,
+ -23, 1, 19, -1, 1, 2, 40, 62,
+ -11, -11, -7, -1, 40, 10, 54, 26,
+ -17, 8, -1, 5, 15, -5, 18, 17,
+ -34, -7, -22, -1, -21, -15, -9, -10,
+ -12, 6, -19, -18, 8, -28, -12, -37,
+ -9, -48, 5, 5, -12, -12, -10, -2,
+ ],
+ [
+ -141, -30, 17, -21, -17, 41, 6, -44,
+ -50, -5, 14, -7, 16, 14, 47, 6,
+ -34, 13, -16, 33, 11, 2, -2, 14,
+ -10, -13, -21, 3, 4, 26, 13, 18,
+ 11, -7, 17, -8, 5, -0, 7, -14,
+ -0, -7, 15, 12, 19, 4, 0, -17,
+ -5, 28, 8, -5, 1, 8, 32, 16,
+ 54, -60, 17, 20, -24, -14, 16, -14,
+ ],
+ [
+ -142, -50, -45, 24, -0, 5, 40, -14,
+ -56, -29, -13, 26, -2, 2, 38, 6,
+ -26, -17, -20, -2, 14, -16, 4, 33,
+ -8, -24, 9, 0, 6, 9, -13, 24,
+ 7, 15, -0, -3, 5, 13, -10, 9,
+ 30, -1, 13, 5, 17, 9, -4, 1,
+ 18, 3, 9, 19, 4, 3, -13, -9,
+ -13, -11, 10, 16, 32, 10, 44, 9,
+ ],
+ [
+ -45, -47, -35, -33, -4, -5, 36, -15,
+ -35, -24, -14, -27, 5, 2, 0, 8,
+ -8, -13, 7, -9, -18, -36, 2, -4,
+ 10, -5, 3, -0, -6, 3, -14, 13,
+ 20, 4, 3, 8, 6, 6, 6, 4,
+ -0, 5, 10, 16, 9, 9, 15, 0,
+ 42, 34, 11, 13, 16, 7, 13, 18,
+ -14, 21, 21, -4, 17, 12, 18, -38,
+ ],
+ [
+ -10, -27, -7, 11, -28, -26, -4, -55,
+ 17, 14, -31, -30, 4, -17, -25, -19,
+ 21, -10, -13, -8, 11, -7, -22, -2,
+ 25, 15, 1, -2, -5, -16, -19, 5,
+ 13, 4, -5, 12, 4, -3, -7, -3,
+ 16, 15, 10, 12, 11, -3, 5, 3,
+ 1, 27, -2, 10, 8, 16, 24, 30,
+ 2, 28, 18, 0, 12, 3, 14, -13,
+ ],
+ [
+ -21, 44, 48, -20, 51, -18, -29, -96,
+ 15, 15, 1, -9, -12, -18, -42, -23,
+ 43, 3, 12, 3, 3, -28, -3, -42,
+ 1, 13, 1, -8, -10, -14, -24, -25,
+ 11, -4, 13, 5, 8, -2, 1, -4,
+ -5, 2, 8, 20, 7, 2, -11, 5,
+ 26, 17, 5, 8, 13, 9, 11, -8,
+ -11, 26, 11, 5, 4, 12, -5, 10,
+ ],
+ [
+ 49, 20, 14, 5, 8, -30, 31, -147,
+ 3, 12, 9, 3, -3, 11, -17, -44,
+ 4, 1, 14, 8, -5, -8, -26, -14,
+ 6, -6, 6, 4, 2, -6, 6, -27,
19, -2, 6, 15, 6, 10, -15, 22,
- -3, 3, 4, 11, 8, 2, 6, 18,
+ -2, 2, 4, 11, 8, 2, 6, 18,
-10, 18, 2, 2, 12, -3, 5, 28,
- -59, -4, -4, 7, 20, 14, -15, -7,
- ],
- [
- -35, 24, 27, 35, 25, -29, 93, -89,
- 34, 5, -8, 15, 6, -2, -42, -52,
- -16, 1, 4, -1, 1, -21, 19, 6,
- -3, -22, -7, 12, 11, -1, -5, 2,
- -4, -9, 4, 8, 20, 14, 48, 16,
- 2, -15, -4, 0, 17, -1, -3, 2,
- -22, -18, 9, 10, -1, 6, -9, 9,
- -2, -24, -7, 6, 20, -12, -23, -22,
- ],
- [
- -26, 13, -23, 58, -53, -53, -5, -30,
- -21, 18, 12, -3, 5, -0, 9, -27,
- 15, -12, 6, 11, 20, 17, 2, -25,
- 16, 60, -6, -23, 5, 26, -14, -2,
- 10, -5, -3, -1, -7, 26, 13, -44,
- -14, -36, -26, 31, 11, 23, -26, -24,
- -45, 34, 28, 10, 5, 17, -12, 48,
- -6, -8, 6, -13, 7, -18, -1, 48,
- ],
- [
- -40, 26, -18, 49, 53, -6, -91, 23,
- 55, 14, -26, 22, -4, -8, 26, -36,
- 53, 6, -36, -17, 22, -18, 25, 21,
- 8, -1, -8, 11, -2, -12, -20, -29,
- -3, -39, 33, 19, 6, 4, -31, -1,
- 15, -44, 6, -3, 15, 17, -14, 28,
- -10, 8, 6, 25, 43, 18, 8, 7,
- -39, -8, -15, -5, -30, -13, -54, 9,
- ],
- [
- 27, 43, -5, -42, -50, 32, 7, 26,
- 69, 7, 6, 6, -1, 15, -33, 24,
- 12, 27, -23, -21, -4, -7, -48, 18,
- 1, 5, -22, -1, -6, -0, -8, -11,
- 8, 31, 44, 6, 4, -1, -19, -23,
- 20, 4, 0, -2, 3, 19, -9, 23,
- -3, -38, -13, 10, 2, 1, -17, 12,
- -46, -29, 3, -4, -10, 28, -4, -41,
- ],
- [
- -87, -70, -37, 21, -16, -34, 38, -36,
- 55, -9, -3, 8, -13, 1, 3, 20,
- 14, -25, -0, 4, -7, 5, 27, 31,
- 13, -11, 21, -11, -14, 7, -20, -2,
- -1, -11, 2, 5, -0, 4, 18, -13,
- 36, -6, -2, 9, 17, 27, -5, 26,
- 45, -38, 16, 3, 30, 21, 21, 0,
- -54, -19, 25, -7, 33, -41, 47, -60,
- ],
- [
- -43, 23, 53, -21, 14, -14, 10, -17,
- 41, 34, 10, 8, -28, 4, 9, 9,
- -26, -21, 10, 4, -17, -20, -5, 10,
- 6, 6, -27, 5, -2, -14, -7, 15,
- 20, 26, 16, -20, -38, 1, 22, 23,
- 33, -6, -23, 14, -12, -7, 13, 9,
- -36, 13, 24, 10, -32, -16, 29, 9,
- 1, 9, -41, -8, -2, -14, 6, -30,
- ],
- [
- 55, -12, 19, -57, -6, 86, -53, -11,
- -33, -40, 1, -19, 34, -22, 32, 41,
- 21, -7, -7, 23, -8, -4, 27, 51,
- -39, -5, -7, 8, -26, -20, -8, 49,
- -20, 25, -4, -13, -6, 14, 1, 16,
- -79, 6, -30, 1, 10, 6, 23, 20,
- -31, 40, 1, 5, -39, -20, 0, -38,
- 2, -7, -12, -15, 21, 10, 39, 11,
- ],
- [
- 123, 67, 40, -39, -6, -22, 13, 47,
- -40, -26, -1, -11, 11, -13, -25, 35,
- -41, -25, -33, 4, -41, 22, -8, -31,
- 9, 4, -2, 11, 4, 19, -9, 8,
- -41, -5, 6, 9, 8, 29, 5, -12,
- -39, -23, 24, -5, 21, -1, -1, 30,
- -45, -39, -25, 38, 5, -27, 6, -23,
- -1, -37, -5, 28, 28, 21, -6, 34,
- ],
- [
- -101, -52, -31, 78, 31, 33, -18, 75,
- -85, -2, 34, -21, -6, 2, 40, -18,
- 9, 32, 1, 18, 30, -4, -21, -6,
- -77, -31, -38, 1, -7, -0, -2, 24,
- -10, -68, 2, 5, 36, 9, 12, 8,
- -91, 32, 13, -17, 20, 12, 7, 67,
- 4, 5, -50, 16, 21, 20, 32, 16,
- 40, -3, -34, -2, -53, 22, -20, 60,
+ -59, -4, -4, 7, 20, 13, -14, -7,
+ ],
+ [
+ -36, 23, 27, 35, 25, -29, 92, -90,
+ 33, 6, -8, 15, 6, -2, -42, -53,
+ -17, 1, 5, -1, 2, -21, 18, 7,
+ -3, -22, -7, 12, 10, -1, -6, 2,
+ -4, -9, 4, 7, 20, 14, 48, 17,
+ 2, -14, -3, 0, 17, -0, -3, 1,
+ -21, -18, 10, 10, -1, 5, -9, 9,
+ -2, -23, -8, 5, 20, -13, -23, -20,
+ ],
+ [
+ -26, 16, -22, 57, -54, -54, -4, -31,
+ -21, 17, 11, -1, 4, -0, 8, -26,
+ 17, -11, 7, 11, 20, 17, 1, -26,
+ 16, 61, -7, -23, 5, 26, -14, -2,
+ 11, -7, -3, -1, -5, 28, 13, -45,
+ -12, -37, -26, 32, 12, 22, -26, -24,
+ -47, 35, 29, 10, 6, 18, -11, 48,
+ -7, -9, 7, -15, 5, -20, 1, 45,
+ ],
+ [
+ -41, 28, -16, 48, 55, -2, -86, 22,
+ 56, 16, -27, 21, -2, -8, 25, -34,
+ 51, 4, -36, -18, 22, -19, 23, 20,
+ 7, -0, -9, 11, -3, -12, -22, -30,
+ -4, -39, 33, 18, 5, 3, -31, -3,
+ 18, -44, 3, -3, 16, 17, -17, 25,
+ -7, 7, 6, 26, 41, 17, 6, 12,
+ -38, -7, -12, -6, -30, -12, -56, 11,
+ ],
+ [
+ 28, 40, -3, -44, -49, 31, 10, 24,
+ 69, 8, 5, 7, -0, 18, -34, 24,
+ 11, 27, -22, -20, -4, -8, -48, 19,
+ 1, 3, -23, -1, -6, -1, -8, -10,
+ 7, 32, 44, 7, 3, -1, -19, -25,
+ 21, 4, -1, -4, 2, 19, -9, 24,
+ -3, -43, -13, 12, 2, 1, -16, 12,
+ -44, -30, 3, -2, -11, 27, -4, -39,
+ ],
+ [
+ -90, -69, -36, 23, -15, -33, 37, -35,
+ 55, -9, -3, 7, -12, 2, 4, 21,
+ 12, -25, -2, 3, -8, 4, 26, 34,
+ 13, -11, 20, -11, -15, 6, -20, -2,
+ -1, -10, 3, 5, 0, 3, 19, -14,
+ 34, -5, -4, 10, 17, 26, -5, 27,
+ 47, -36, 15, 3, 28, 22, 18, 1,
+ -51, -21, 22, -8, 32, -42, 47, -55,
+ ],
+ [
+ -42, 23, 53, -20, 12, -12, 12, -15,
+ 43, 36, 8, 8, -28, 2, 9, 6,
+ -25, -21, 9, 3, -16, -19, -5, 9,
+ 6, 4, -27, 3, -2, -15, -9, 14,
+ 18, 25, 15, -18, -38, 2, 22, 22,
+ 34, -5, -23, 14, -13, -8, 16, 8,
+ -36, 11, 23, 10, -30, -15, 30, 9,
+ 2, 11, -39, -10, -1, -16, 8, -30,
+ ],
+ [
+ 60, -11, 20, -59, -9, 87, -55, -15,
+ -31, -37, 2, -20, 34, -22, 33, 41,
+ 19, -6, -6, 21, -9, -3, 28, 51,
+ -41, -3, -8, 9, -26, -18, -10, 48,
+ -23, 24, -5, -14, -5, 13, 2, 14,
+ -80, 6, -32, 1, 9, 4, 24, 22,
+ -31, 42, 2, 7, -37, -19, 2, -42,
+ -1, -7, -10, -12, 24, 11, 40, 6,
+ ],
+ [
+ 121, 66, 41, -40, -5, -22, 14, 47,
+ -43, -27, -1, -11, 10, -12, -25, 36,
+ -42, -24, -33, 6, -41, 20, -9, -33,
+ 8, 4, -1, 12, 4, 17, -8, 8,
+ -39, -5, 5, 10, 8, 29, 2, -13,
+ -40, -21, 23, -4, 21, 1, -1, 29,
+ -42, -39, -23, 39, 5, -28, 8, -23,
+ -2, -37, -6, 26, 29, 21, -7, 36,
+ ],
+ [
+ -102, -56, -31, 79, 29, 30, -25, 73,
+ -82, -0, 36, -22, -6, 3, 43, -19,
+ 11, 35, 2, 18, 31, -4, -20, -6,
+ -76, -32, -37, 2, -7, 2, -4, 23,
+ -11, -68, 1, 5, 36, 9, 13, 6,
+ -92, 33, 14, -17, 20, 12, 9, 68,
+ 4, 5, -51, 14, 22, 20, 31, 15,
+ 47, -5, -32, -7, -53, 23, -21, 62,
],
];
internal static readonly short[][] MiddleGameEnemyBishopTable =
[
[
- -31, -19, -3, 53, -15, -65, -72, -15,
- 16, 160, 68, 104, 74, -71, -79, -93,
- 30, 62, 56, 57, -35, -33, -47, -41,
- 10, 56, 65, 57, 14, 7, 11, -10,
- -30, 16, 12, 14, 44, 21, 2, -20,
- -29, 7, -14, 5, 13, 41, 14, -21,
- -20, -49, -24, -11, -19, -12, 2, 3,
- -95, -39, -24, -17, -34, -45, 10, 27,
- ],
- [
- -8, -38, -84, -55, -156, -87, -148, -31,
- 7, 137, 4, -47, -30, -13, -11, -41,
- 23, 36, 76, 56, -11, 50, -39, -31,
- -1, 21, 42, 49, 54, 8, 25, 1,
- -16, -11, 9, 32, 32, 34, 10, -10,
- -31, 7, 3, 6, 25, 26, 24, 4,
- 7, -22, -17, 6, 9, 21, 22, 45,
- 9, 1, -4, -12, 8, -7, 23, 12,
- ],
- [
- -27, -48, -33, -194, -62, -82, 12, -6,
- -4, 1, 85, -4, -50, 9, -14, -31,
- 52, 60, 6, 75, 69, 24, 3, -40,
- -7, 11, 21, 21, 49, 43, 17, -2,
- -3, -21, -1, 14, 36, 28, 20, -19,
- -37, -10, -9, 1, 8, 28, 20, 13,
- 12, -20, -7, -4, 9, -4, 27, 9,
- -9, -10, -22, 2, -4, -22, 15, 7,
- ],
- [
- 36, 0, -107, -2, 3, -33, -86, 20,
- 19, -12, 26, 49, 21, 35, 21, -47,
- -24, -6, 85, 108, 42, 127, -11, -34,
- -17, 25, 32, 18, 42, -5, 26, 1,
- -32, -14, -10, 5, -11, 4, 34, -30,
- -20, 6, -29, 1, -15, -5, 12, 15,
- -23, -36, -29, 4, -8, -5, -16, -4,
- -3, -36, -29, 4, -13, -52, 18, -37,
- ],
- [
- -20, -101, -106, -107, -33, -51, 14, -62,
- -4, 7, -13, -52, 44, -55, 12, -17,
- -26, 32, 56, 80, 58, 33, 45, 16,
- -6, 4, 53, 19, 29, 28, 9, -3,
- 2, 36, 4, 25, 9, 1, 1, -10,
- 15, 20, 3, 4, 5, -3, 1, -2,
- 24, 11, 11, 7, -1, -4, -2, 12,
- -6, -7, 2, 1, -6, -22, 4, -20,
- ],
- [
- -34, 8, -40, -10, -82, -26, -65, -20,
- 8, -57, 37, 1, -25, 23, 1, -27,
- -41, 23, -22, 113, 64, 75, 12, 53,
- -27, -10, 81, 50, 30, -19, 20, -13,
- -10, -19, 13, 62, -16, 11, 7, -2,
- 15, 9, 44, -3, 18, 1, -13, -29,
- 22, 2, -18, 6, -22, -5, -19, 2,
- -1, -26, -7, -30, 9, -59, -11, -12,
- ],
- [
- -46, -69, -92, -61, -82, -81, -46, 49,
- -22, 2, -7, -31, 10, -4, 63, -63,
- -19, 1, 21, 25, 46, 53, 31, 19,
- -10, 12, 17, 29, 19, 15, 1, -11,
- 2, 6, 12, 36, 26, 1, 9, -2,
- -6, 23, 14, 16, 8, 11, -10, -3,
- 25, 6, 19, 5, 10, -1, 0, -1,
- 21, 19, -1, 4, 1, -24, -1, 3,
- ],
- [
- -97, -80, -45, -43, -66, -4, -30, -37,
- 7, -24, -34, -36, 48, 23, -116, 9,
- -20, -3, -14, 34, 12, 54, 50, 21,
- -33, 18, 27, 18, 57, 50, 13, 9,
- -23, 19, 11, 46, 44, 24, 6, -12,
- -5, 19, 29, 21, 21, 17, 5, -16,
- 8, 16, 11, 12, 8, -3, -5, 7,
- 15, 31, -0, -5, -6, -27, -10, -22,
- ],
- [
- -90, 19, -34, -66, -79, 74, -49, -166,
- -140, -72, -81, 8, 25, 5, 22, -36,
- 32, 48, 26, 62, 25, 62, -6, 7,
- 21, 33, 52, 76, 71, 38, -7, -2,
- 9, -2, 13, 21, 25, 32, 27, -7,
- -40, 7, 10, 16, 23, 24, 28, -12,
- -49, -33, 4, 9, 32, 7, 15, 43,
- -39, -44, -25, -38, -2, 18, 45, 4,
- ],
- [
- -100, -32, 55, -21, -8, 76, -58, -42,
- -19, -38, -69, -83, -66, 26, 66, -3,
- 18, -13, 130, 12, 41, -11, 3, -9,
- 9, 8, 50, 82, 72, 42, 14, -5,
- -17, 3, 4, 27, -8, 79, -1, 31,
- -13, -14, -4, -8, 4, 7, 27, 17,
- -25, -19, -26, 5, -8, -17, -2, -47,
- -24, -15, -7, -37, 16, -41, 4, -15,
- ],
- [
- -47, 9, -83, -125, -24, -88, -35, -36,
- -42, -27, 25, -90, -26, -15, -2, -29,
- 39, 44, 25, 59, 105, 14, -45, 2,
- -0, 68, 50, 7, 59, 91, 40, -32,
- 24, 48, -1, 34, 35, 30, 62, -8,
- -4, -12, -25, 18, -6, 15, 15, 17,
- -36, -16, -37, -3, 5, 31, 4, 26,
- -27, 16, -15, -19, 7, -13, -32, -28,
- ],
- [
- -81, -8, 135, 4, -100, -36, 71, -20,
- 35, 2, -45, -2, 22, -45, 1, -42,
- -30, 1, 6, 59, 62, 39, 10, 21,
- -11, -0, 91, 52, 25, 56, 35, 27,
- -35, 37, -12, 52, 8, 11, -7, 18,
- 18, -10, 2, -22, 23, -17, 4, -32,
- -30, -19, -10, 5, -27, -4, -16, -42,
- -24, -56, -16, -42, -14, -60, 38, -57,
- ],
- [
- -48, -57, 32, -62, -25, -6, 83, -40,
- -99, -31, -31, -4, -64, -12, -42, 45,
- -11, 17, -15, 24, 34, 34, -2, 6,
- -20, -3, 25, 92, 56, 44, 20, 46,
- -32, 49, 35, 36, 39, 0, -12, -39,
- -11, 31, -1, 16, -7, 6, -26, -19,
- 15, -3, 28, -5, -1, -17, 2, -21,
- -13, 29, -26, 17, -7, -24, -36, 7,
- ],
- [
- -35, 52, -38, 65, -24, -7, -31, -56,
- -15, -41, 13, -13, 14, -58, 18, -19,
- -55, 19, -37, 32, 20, 108, 9, 9,
- 7, -23, 40, 22, 131, 61, 49, 3,
- -35, 11, -4, 56, 12, 31, -17, -12,
- -19, -7, 37, -7, 39, -18, -4, -61,
- -25, 19, -17, 16, -23, -6, -36, -19,
- -2, -1, 5, -19, -11, -59, -16, -30,
- ],
- [
- 19, -41, -70, -93, 26, -63, 95, -92,
- -48, -9, -27, -24, -7, 13, 12, 55,
- -34, 15, 20, 15, 7, 67, 125, 41,
- -42, 21, 3, 11, 24, 76, 29, 5,
- -43, 2, 13, 32, 42, 0, 3, -20,
- -15, 8, 11, 15, 11, 13, -32, 10,
- -6, -10, 16, -2, 10, -2, -11, -39,
- -11, -0, -12, -3, -25, -31, -30, -26,
- ],
- [
- 40, 10, 8, -47, 4, 19, 20, -9,
- 36, 55, 123, 94, -63, 23, -20, -38,
- -9, 32, 135, -34, 14, -73, -43, -44,
- 10, 26, -12, 126, -46, -24, 41, 17,
- 11, -70, 124, 45, 76, -96, -60, 66,
- 23, -10, -3, 20, -27, 8, -19, -7,
- -79, -82, 8, -19, -62, 1, 140, -32,
- -60, 32, -1, -53, -66, -46, -80, -53,
- ],
- [
- 5, -1, 24, 26, -35, -36, 59, 19,
- -8, 17, 60, -17, 22, -39, 34, 13,
- -16, -13, -38, 2, 24, 50, -10, -21,
- 26, 27, -64, -23, -37, -24, -91, 1,
- -8, 18, 42, -66, 60, 51, -3, 32,
- 34, 18, -16, -0, 25, 46, -12, 11,
- -16, 39, 2, -26, -34, -24, -41, 0,
- -15, -43, -67, -75, 37, 68, 28, 2,
- ],
- [
- 42, 7, 19, 56, -13, -53, -18, 50,
- 10, -52, 2, -3, 39, 59, -30, 1,
- 40, -36, -77, -103, 31, -60, -92, 31,
- -34, -1, -52, -3, -44, -10, -29, -49,
- 13, -42, 56, -33, 41, 46, -18, 46,
- 27, 10, 9, 54, 4, -81, 50, 93,
- 15, -4, -33, -134, 39, 79, 24, 11,
- -0, 23, -73, 29, 17, 53, 14, 36,
- ],
- [
- 7, -6, 55, 38, 44, 34, 7, 52,
- 1, 5, 37, -14, 53, -0, 41, 29,
- -52, -38, -38, -84, -71, -22, 29, 50,
- 29, -81, 15, -81, -33, -1, 24, -1,
- 5, -30, -86, -78, -46, -19, -44, 59,
- 65, -8, 23, 23, -14, 15, -16, 12,
- -28, 34, -16, -0, -62, -18, 29, 40,
- 34, 30, -4, 5, 4, -12, 4, 70,
- ],
- [
- 40, -8, -21, -1, 67, -5, 12, 12,
- 14, 13, -84, -6, 32, 56, -44, 61,
- -9, 69, -34, -48, -28, -99, 40, -2,
- 39, -68, -58, -110, -44, 1, -56, 33,
- 13, -19, -6, -55, -10, -46, 15, 17,
- 31, -25, 36, 18, -80, -0, -54, 94,
- 56, -10, 55, -45, 67, -8, 81, 17,
- 17, 72, -69, 14, -24, 37, -2, 52,
- ],
- [
- 40, 59, -14, -12, 32, 17, 40, 27,
- 70, -5, -65, -9, 7, 21, -0, -2,
- -8, 3, -65, -24, -71, -44, -37, 17,
- 7, -49, 21, -65, -58, -42, -22, 18,
- 19, 15, -25, -1, -26, -39, -60, 21,
- 55, 67, -22, -9, -25, -6, 13, -26,
- 54, -5, -9, 56, -8, 52, -16, 47,
- 38, -33, 14, 59, -46, 84, -29, 5,
- ],
- [
- 23, 65, 39, -0, 13, -43, -16, -4,
- -75, -17, -27, 22, -39, 49, -52, -7,
- -12, -48, -25, -61, -21, -84, 38, -45,
- 24, -12, -41, 1, -22, -20, -10, 29,
- 71, -22, 22, 18, 4, -23, 14, -13,
- 3, 84, -47, -25, 23, 11, 22, 21,
- -12, -46, 131, -48, 34, -75, 32, -8,
- 46, 16, 8, 12, 59, 104, -40, 3,
- ],
- [
- 9, 10, 13, -8, -20, 36, -6, -9,
- -15, -57, 49, -11, 28, 43, -9, 33,
- 10, 36, -0, -51, -68, -39, 41, -3,
- 40, 27, -3, 47, 127, -45, 28, -17,
- -10, -66, -18, -31, -46, 76, 11, 10,
- -13, -64, -6, -38, -3, -7, 15, -19,
- -21, 21, -10, 59, 58, -29, 48, -39,
- -46, 15, -20, -13, -34, -14, 19, -4,
+ -29, -21, -3, 55, -12, -63, -71, -14,
+ 18, 153, 68, 104, 73, -69, -78, -91,
+ 32, 60, 54, 55, -37, -35, -48, -39,
+ 11, 52, 62, 52, 11, 4, 10, -9,
+ -28, 14, 10, 10, 41, 18, 1, -19,
+ -26, 4, -15, 6, 11, 40, 12, -20,
+ -17, -47, -22, -10, -17, -10, 5, 4,
+ -94, -37, -22, -15, -32, -43, 11, 30,
+ ],
+ [
+ -7, -36, -85, -54, -153, -84, -148, -29,
+ 9, 136, 5, -46, -30, -13, -10, -39,
+ 24, 35, 74, 55, -12, 49, -40, -30,
+ -1, 18, 39, 44, 51, 5, 23, 2,
+ -15, -13, 6, 27, 28, 32, 8, -9,
+ -28, 3, 2, 6, 23, 24, 22, 6,
+ 9, -20, -16, 7, 11, 22, 25, 47,
+ 11, 2, -2, -10, 10, -5, 24, 14,
+ ],
+ [
+ -24, -48, -32, -193, -60, -80, 14, -5,
+ -3, 3, 85, -3, -49, 10, -12, -29,
+ 53, 59, 5, 72, 69, 23, 3, -40,
+ -6, 8, 19, 17, 45, 41, 15, -1,
+ -2, -24, -4, 9, 33, 25, 18, -19,
+ -35, -15, -10, 1, 5, 27, 17, 15,
+ 14, -19, -7, -3, 11, -3, 30, 10,
+ -7, -9, -20, 4, -2, -21, 15, 9,
+ ],
+ [
+ 39, 5, -108, -1, 1, -34, -85, 22,
+ 19, -11, 27, 49, 22, 37, 22, -45,
+ -23, -5, 83, 104, 39, 128, -12, -35,
+ -17, 23, 29, 13, 38, -8, 24, 2,
+ -31, -16, -13, -0, -15, 2, 32, -28,
+ -17, 2, -29, 1, -17, -7, 9, 17,
+ -22, -34, -29, 6, -6, -3, -13, -2,
+ -1, -35, -26, 6, -10, -50, 19, -35,
+ ],
+ [
+ -17, -98, -104, -108, -32, -49, 16, -61,
+ -1, 9, -12, -51, 43, -56, 15, -15,
+ -25, 32, 54, 78, 58, 32, 44, 18,
+ -5, 1, 50, 15, 26, 26, 7, -3,
+ 2, 34, 2, 20, 5, -2, -1, -9,
+ 17, 16, 1, 4, 3, -5, -1, -0,
+ 26, 13, 12, 8, 0, -3, 1, 13,
+ -4, -7, 3, 3, -5, -20, 5, -19,
+ ],
+ [
+ -34, 10, -40, -11, -80, -25, -65, -19,
+ 8, -59, 38, 1, -24, 24, 1, -27,
+ -41, 21, -25, 111, 62, 72, 10, 55,
+ -26, -12, 79, 45, 27, -22, 18, -12,
+ -9, -20, 11, 58, -19, 9, 6, -0,
+ 17, 5, 43, -4, 16, -0, -14, -26,
+ 24, 4, -17, 7, -19, -3, -16, 3,
+ 2, -24, -5, -28, 11, -57, -10, -10,
+ ],
+ [
+ -45, -67, -92, -59, -80, -81, -45, 48,
+ -20, 3, -6, -31, 11, -1, 63, -60,
+ -18, 0, 19, 22, 45, 51, 31, 19,
+ -9, 10, 15, 25, 16, 12, -1, -10,
+ 3, 4, 10, 31, 23, -2, 7, -1,
+ -4, 20, 13, 16, 6, 9, -12, -1,
+ 26, 8, 20, 6, 11, 1, 3, 0,
+ 23, 21, 1, 5, 3, -23, 0, 5,
+ ],
+ [
+ -97, -78, -44, -43, -65, -5, -30, -35,
+ 9, -23, -32, -34, 48, 24, -115, 11,
+ -19, -4, -15, 32, 11, 53, 50, 22,
+ -32, 16, 24, 14, 54, 47, 11, 11,
+ -21, 16, 8, 42, 41, 21, 5, -12,
+ -4, 15, 28, 21, 19, 15, 3, -14,
+ 9, 17, 12, 13, 9, -1, -2, 8,
+ 17, 32, 1, -3, -4, -25, -10, -20,
+ ],
+ [
+ -89, 18, -32, -62, -78, 77, -47, -162,
+ -138, -79, -81, 11, 27, 7, 24, -33,
+ 30, 41, 17, 61, 23, 62, -6, 8,
+ 19, 30, 48, 73, 68, 37, -8, 0,
+ 11, -4, 12, 17, 22, 30, 26, -7,
+ -37, 5, 9, 16, 20, 23, 26, -11,
+ -49, -30, 6, 11, 33, 10, 19, 44,
+ -37, -43, -23, -36, -0, 21, 46, 7,
+ ],
+ [
+ -99, -29, 61, -17, -7, 80, -56, -39,
+ -17, -37, -71, -85, -64, 27, 67, -2,
+ 20, -22, 120, 1, 41, -12, 1, -11,
+ 11, 3, 45, 76, 68, 38, 12, -5,
+ -15, 2, 1, 23, -10, 77, -3, 33,
+ -12, -17, -5, -8, 2, 5, 27, 19,
+ -22, -17, -24, 7, -6, -15, 0, -42,
+ -21, -13, -6, -36, 18, -39, 6, -12,
+ ],
+ [
+ -45, 11, -78, -123, -22, -90, -32, -35,
+ -40, -26, 25, -92, -26, -14, 0, -26,
+ 40, 42, 16, 51, 100, 14, -46, 3,
+ 1, 63, 45, 3, 54, 90, 38, -31,
+ 26, 46, -2, 30, 32, 28, 62, -7,
+ -2, -14, -26, 18, -7, 15, 14, 18,
+ -30, -14, -34, -1, 7, 32, 8, 29,
+ -27, 18, -13, -16, 8, -10, -29, -29,
+ ],
+ [
+ -76, -7, 138, 6, -97, -33, 76, -16,
+ 36, 3, -43, -1, 18, -46, 3, -38,
+ -29, 0, 5, 48, 57, 31, 9, 21,
+ -13, -2, 87, 48, 20, 51, 33, 28,
+ -34, 35, -14, 46, 4, 8, -8, 20,
+ 19, -13, 1, -21, 21, -19, 4, -30,
+ -28, -17, -7, 6, -25, -2, -12, -38,
+ -22, -54, -13, -41, -12, -57, 38, -53,
+ ],
+ [
+ -47, -56, 34, -60, -24, -3, 84, -37,
+ -99, -30, -30, -3, -62, -15, -42, 48,
+ -9, 17, -15, 23, 23, 29, -8, 7,
+ -18, -5, 22, 90, 52, 41, 18, 49,
+ -32, 47, 33, 32, 35, -3, -14, -39,
+ -9, 28, -2, 17, -9, 5, -27, -16,
+ 16, -0, 30, -3, 1, -14, 6, -19,
+ -11, 31, -24, 19, -5, -22, -33, 9,
+ ],
+ [
+ -34, 53, -34, 66, -22, -5, -31, -54,
+ -13, -39, 15, -12, 17, -58, 13, -19,
+ -54, 18, -38, 30, 19, 99, 5, 9,
+ 8, -25, 37, 17, 128, 57, 47, 4,
+ -34, 9, -6, 52, 8, 28, -18, -11,
+ -17, -10, 36, -7, 37, -20, -5, -58,
+ -23, 22, -16, 18, -21, -3, -32, -17,
+ 1, 1, 7, -17, -8, -57, -15, -28,
+ ],
+ [
+ 21, -40, -69, -90, 28, -61, 95, -90,
+ -46, -8, -26, -24, -5, 14, 9, 57,
+ -33, 13, 18, 13, 6, 65, 119, 42,
+ -41, 18, 0, 6, 21, 73, 27, 6,
+ -42, 0, 10, 28, 39, -3, 2, -19,
+ -12, 4, 10, 14, 9, 11, -33, 12,
+ -4, -9, 18, -0, 12, 0, -8, -37,
+ -9, 1, -10, -1, -23, -29, -28, -24,
+ ],
+ [
+ 40, 11, 9, -46, 3, 22, 19, -7,
+ 36, 56, 125, 96, -61, 23, -19, -39,
+ -8, 27, 138, -35, 10, -76, -44, -40,
+ 8, 24, -18, 124, -50, -27, 41, 18,
+ 12, -71, 124, 43, 69, -94, -56, 68,
+ 25, -4, -1, 19, -27, 7, -20, -11,
+ -78, -85, 9, -18, -63, 2, 141, -35,
+ -62, 34, 2, -51, -60, -46, -79, -54,
+ ],
+ [
+ 3, -3, 25, 27, -36, -35, 61, 17,
+ -9, 15, 58, -15, 27, -38, 36, 9,
+ -15, -12, -39, 6, 28, 54, -10, -20,
+ 26, 20, -66, -22, -40, -23, -91, -1,
+ -8, 10, 38, -68, 62, 53, -1, 32,
+ 32, 15, -19, -1, 28, 52, -12, 10,
+ -14, 40, 4, -28, -29, -24, -41, 3,
+ -16, -47, -75, -69, 35, 72, 27, 3,
+ ],
+ [
+ 41, 5, 18, 57, -13, -52, -20, 49,
+ 13, -50, 3, -3, 43, 60, -31, -2,
+ 38, -35, -77, -103, 32, -55, -91, 36,
+ -35, -1, -58, -5, -46, -9, -29, -51,
+ 10, -45, 50, -36, 39, 46, -19, 44,
+ 22, 8, 7, 56, 5, -80, 49, 91,
+ 13, -7, -34, -124, 42, 81, 30, 15,
+ 1, 24, -74, 31, 15, 53, 20, 36,
+ ],
+ [
+ 8, -4, 55, 40, 45, 35, 10, 50,
+ -1, 5, 38, -13, 54, 3, 41, 25,
+ -46, -39, -33, -78, -69, -24, 31, 53,
+ 27, -84, 16, -85, -29, 0, 29, -9,
+ 4, -34, -88, -82, -48, -18, -50, 56,
+ 66, -9, 16, 26, -16, 17, -16, 12,
+ -27, 35, -15, -3, -59, -22, 36, 41,
+ 31, 26, 0, 3, 5, -11, 3, 69,
+ ],
+ [
+ 40, -10, -23, 0, 64, -5, 9, 9,
+ 13, 16, -83, -1, 33, 55, -47, 58,
+ -6, 74, -29, -44, -28, -94, 38, 6,
+ 35, -66, -55, -109, -51, 1, -62, 33,
+ 11, -16, -5, -53, -16, -48, 13, 15,
+ 31, -29, 36, 15, -76, 1, -58, 94,
+ 56, -7, 53, -46, 61, -4, 79, 19,
+ 16, 72, -67, 13, -22, 43, -2, 48,
+ ],
+ [
+ 39, 59, -14, -12, 34, 17, 38, 23,
+ 71, -4, -69, -8, 11, 22, -0, -2,
+ -12, 4, -59, -19, -65, -34, -36, 17,
+ 4, -52, 27, -67, -54, -51, -24, 17,
+ 16, 19, -20, 0, -22, -49, -60, 17,
+ 49, 65, -22, -9, -29, -4, 8, -29,
+ 52, 1, -2, 55, -5, 54, -14, 46,
+ 35, -29, 11, 59, -48, 83, -31, 4,
+ ],
+ [
+ 24, 67, 40, 1, 16, -43, -16, -2,
+ -75, -16, -26, 24, -36, 52, -51, -5,
+ -12, -48, -22, -56, -20, -84, 34, -44,
+ 28, -9, -38, 0, -23, -18, -25, 28,
+ 70, -23, 20, 18, 5, -33, 15, -14,
+ 2, 81, -51, -26, 24, 7, 22, 21,
+ -13, -45, 138, -44, 35, -75, 31, -8,
+ 44, 14, 7, 13, 57, 103, -40, 1,
+ ],
+ [
+ 10, 14, 13, -8, -21, 36, -7, -8,
+ -15, -58, 50, -14, 27, 43, -10, 34,
+ 13, 34, 2, -55, -69, -40, 38, -4,
+ 45, 25, -5, 52, 123, -50, 27, -20,
+ -8, -66, -15, -36, -51, 74, 10, 9,
+ -16, -63, -7, -38, -1, -7, 15, -16,
+ -24, 25, -7, 59, 60, -30, 49, -38,
+ -46, 19, -14, -13, -30, -9, 20, -5,
],
];
internal static readonly short[][] EndGameEnemyBishopTable =
[
[
- -61, -16, 13, -23, 13, -25, 20, 11,
- 68, -51, -31, -13, -33, 34, 42, 55,
- -22, 9, 8, -29, 25, 6, 37, -5,
- -23, -1, -27, 25, 8, -1, 1, 21,
- 4, -15, -1, -8, 15, -10, -37, 32,
- -8, -19, -17, -3, 15, 1, -13, 23,
- -0, 9, -41, -3, 8, 3, 16, -22,
- 64, 4, -28, -25, 19, 26, -1, -20,
- ],
- [
- 12, -23, -35, -14, -4, 43, 19, 16,
- -11, -45, 16, 21, 8, -17, 60, 33,
- -6, 1, 17, 153, -7, -5, 5, 38,
- 12, -28, -18, -10, 27, -11, -2, -3,
- -11, -2, -2, -16, 20, 15, -1, -8,
- 7, -16, 0, -1, 1, -5, -4, -24,
- -51, 1, -17, 21, -16, -6, -5, -6,
- -33, -28, -1, -24, -2, -28, 1, 2,
- ],
- [
- -15, -31, -51, 19, 34, 13, -17, -29,
- -61, -15, -93, -70, 8, 8, 4, -14,
- 40, -16, 6, -20, 116, -16, 27, 4,
- 13, 3, -15, -1, -10, 110, -13, 15,
- -28, -4, 11, -3, 3, 1, 24, 16,
- 4, 18, 6, 21, 1, 2, 0, 27,
- -45, 8, 1, -5, 14, 8, -2, 20,
- -33, -12, 15, -4, -13, 34, -27, 8,
- ],
- [
- -44, -6, 33, 7, -10, -14, -1, -40,
- -20, -18, 47, -9, 9, -29, 4, 35,
- 12, 55, -18, -61, -8, 52, 5, 23,
- 38, -3, -10, 1, -24, 4, -44, 3,
- 26, -15, -2, -11, 1, -7, -8, 82,
- -2, -10, -11, -4, 6, -6, -5, 6,
- 1, 19, 18, -12, -1, 31, -5, 12,
- -30, -14, 20, -10, -15, -2, -43, 23,
- ],
- [
- 20, 5, 3, 30, -27, -40, -23, -1,
- -8, 5, 9, -33, 18, -16, 13, -13,
- 60, -8, 96, -9, -37, 4, 69, -10,
- 6, 50, 2, -10, -3, -14, 10, 36,
- 4, -5, -6, -1, -5, 3, -15, 16,
- 28, -16, -6, -8, -0, 4, -3, -17,
- -5, -1, -9, -2, -16, -4, 11, -18,
- -22, -36, 9, -11, 4, 7, -26, -36,
- ],
- [
- 4, -2, -14, -15, -17, -26, -31, -34,
- 13, 4, -17, -1, -40, -34, 10, -30,
- 7, -2, -7, 63, -30, -21, 8, 146,
- 12, 6, 62, -10, -15, 16, 3, 2,
- 1, 70, -8, -11, 1, 0, -7, -1,
- 16, -0, -12, -9, -3, -17, 3, -23,
- -18, 2, -6, 2, -2, 9, -9, 4,
- -3, -1, 12, -4, -10, 18, -7, 6,
- ],
- [
- 26, 21, 37, 30, 6, -42, -112, -12,
- 19, 11, -1, 35, -12, -46, -32, -100,
- 25, 14, -3, 1, 98, 16, -5, 20,
- 2, 9, 9, 28, 7, -10, 4, -7,
- -7, 8, 17, 11, -11, 6, -6, -20,
- -4, 15, 13, -3, 18, 3, -0, -5,
- 0, -7, -10, 3, 3, 5, 1, -23,
- -22, -17, -0, 2, 8, 16, -8, -23,
- ],
- [
- 10, 17, -19, 15, -2, -27, 48, -31,
- -12, 16, 10, 8, -46, 2, -48, -12,
- 3, 4, 7, 3, 5, 153, 16, 18,
- 8, -10, 4, 21, 2, -14, 2, -2,
- -2, -5, 19, -1, 4, -6, -20, 15,
- -1, 2, -4, -2, 8, -15, -2, -2,
- 6, -18, -8, -3, -5, -7, -2, -33,
- -10, -14, -16, -1, -8, -12, 8, -17,
- ],
- [
- -49, -11, -27, 14, 21, -10, 22, 49,
- -52, -20, -10, -12, 5, 8, 3, 23,
- -39, -11, -54, -23, -10, -21, 4, -5,
- -15, -19, -11, -5, -4, -7, 15, 7,
- 9, 15, 5, 15, 6, 11, -24, 0,
- 25, 16, 8, 13, 8, 3, -2, 12,
- 22, 8, 15, 4, -4, 9, 18, 13,
- -6, 23, 18, 5, 11, -5, -27, 19,
- ],
- [
- 13, -8, -30, -14, 15, 5, 21, 2,
- -46, 6, -26, 17, 7, 5, -4, 2,
- -13, -13, -27, -37, -14, -9, -1, -19,
- -1, -3, -22, -14, -14, -15, -4, -8,
- 15, 2, 2, 0, 16, -20, -0, -7,
- 5, 15, -3, 8, 14, 3, -2, -2,
- 20, 15, 12, 10, 10, 15, 4, 42,
- 18, 6, 11, 12, -3, 11, 3, 18,
- ],
- [
- -11, -14, 4, 9, 23, 11, 17, 19,
- 2, 5, -2, -16, 0, 8, 3, 9,
- -5, -4, -19, -36, -49, -10, 5, 7,
- -6, -10, -2, -6, -13, -24, -4, 7,
- -3, -9, 8, -2, -1, -2, -1, -5,
- 4, 11, 13, 6, 13, 1, -2, -7,
- 18, 11, 16, 9, 5, -10, -0, -3,
- -11, -14, 14, 10, 4, -10, 24, 16,
- ],
- [
- 0, 0, -17, -4, 13, 18, -10, -31,
- 1, 2, 4, -0, -13, 3, -8, 2,
- 12, -0, -4, -41, -29, -16, -11, -6,
- 8, 8, -16, -9, -22, -20, 6, -15,
- 12, -9, 9, 2, 2, 4, 9, -14,
- 2, -2, 7, 12, 5, 11, 10, 6,
- 13, 5, 12, 6, 16, 3, 4, 16,
- 11, 17, 22, 13, 5, 15, -34, 7,
- ],
- [
- 30, 20, 2, 23, 3, -4, -23, 24,
- 29, 12, 11, -8, 7, -29, -8, -41,
- 8, 3, 2, -10, -21, -23, -18, -21,
- 1, 5, -3, -14, -2, -18, 3, -16,
- 10, -16, -2, 9, -8, 1, -2, 17,
- 4, -12, 12, -2, 15, 6, 9, 12,
- -2, -2, -2, 3, 10, 2, -7, 2,
- -0, -7, 15, 1, 3, 4, 7, -5,
- ],
- [
- 28, -5, 27, 4, 4, 1, -3, -15,
- 6, 10, 2, 4, -7, 12, -23, -69,
- 10, 17, 13, -11, -13, -50, -4, -7,
- 3, 11, -1, 10, -14, -15, -22, -1,
- -2, 7, 7, 2, -0, -4, 5, 3,
- 6, 7, -1, 9, 3, 11, -4, 23,
- 4, -5, 8, 3, 14, 4, 3, -13,
- -18, -9, -1, 4, 10, 22, -3, 3,
- ],
- [
- -15, 28, 25, 22, -7, 8, 10, 39,
- -2, 2, 17, 14, 3, -3, -22, -91,
- 9, -12, 1, -0, 4, -9, -58, -57,
- -8, 4, 6, 15, 14, 4, 3, -0,
- 19, 3, 10, 23, 4, 1, -2, -1,
- -19, 4, 7, 4, 8, 7, 12, -28,
- -12, 3, 0, 5, 11, -11, 3, -3,
- -3, -17, -8, 11, 20, 14, -5, -1,
- ],
- [
- -24, -24, -15, -15, 9, -9, -5, 10,
- -21, -22, -18, -38, -17, 35, 35, 39,
- -14, -51, -20, 13, 9, 29, 30, 7,
- -21, -7, -1, -2, 12, 23, -41, 16,
- -24, -20, -5, 4, 13, 59, 24, 25,
- -8, 27, -4, 14, 17, 1, 0, 33,
- 38, 21, 27, 0, -32, -10, -68, -9,
- -22, 39, -21, 8, 3, -22, 33, -41,
- ],
- [
- -29, -21, -34, -14, 44, 16, 1, 10,
- -28, -4, -30, 23, 19, 50, 37, 2,
- -5, -15, 18, 13, 16, 15, 13, -29,
- 37, 31, 30, 25, 24, 4, 12, 11,
- 30, 51, -2, 42, -10, 6, -13, -61,
- 35, 31, 17, 22, 1, -41, -18, -34,
- 32, -25, -5, 5, -14, -40, -4, -100,
- 9, -14, -9, -6, -3, -55, -11, -55,
- ],
- [
- 4, -25, -40, -12, -11, -4, 42, 72,
- 16, -16, -13, 1, 22, 13, 16, 34,
- 12, 22, 1, 3, 43, 12, 30, -9,
- 18, 34, 9, 17, 17, 32, -15, 9,
- 53, 18, 17, 10, 1, -28, 9, -26,
- -54, 27, 1, 28, -27, 12, 1, -34,
- -8, -0, -44, 18, -13, -41, -45, -67,
- 18, -9, -7, -14, -22, -3, -37, -65,
- ],
- [
- 20, 18, -15, -17, 16, -9, 8, -23,
- 27, -2, 7, 11, -13, 10, 9, 43,
- 9, 24, -3, 4, 8, 10, 10, 23,
- 10, 24, 28, 7, 36, 1, 22, 15,
- -3, 7, 22, 19, 4, -6, 7, -9,
- -21, -30, 19, 6, -3, 1, -14, -12,
- -12, -50, -2, -4, 5, 15, -29, 12,
- -23, 4, -10, -24, -31, -26, -51, -83,
- ],
- [
- 28, 3, -0, 17, 2, -3, -18, 15,
- 13, 10, 14, 3, -10, -10, 2, 39,
- -22, 3, -3, 2, -7, -5, 5, 23,
- -14, 11, 20, 30, -5, 21, 30, 24,
- 1, -3, 3, 13, 16, 25, 3, -3,
- -7, -9, -20, -4, 20, 40, -1, -31,
- 18, -26, -37, -1, -11, 2, -9, -22,
- -52, -4, -20, 4, -32, -31, 14, -52,
- ],
- [
- 15, 41, 5, -3, -4, 36, -18, 17,
- 13, 32, 31, 10, -6, -5, -30, 8,
- 8, -6, 15, 30, 12, 1, -7, 23,
- -9, 20, 5, 26, 7, 13, 33, -7,
- -12, -9, -12, 3, 5, 19, 36, -6,
- -59, -19, 11, -9, 9, -4, 5, -10,
- -49, -26, -8, -13, -12, -34, 13, -4,
- -26, -23, 1, -7, -11, -23, -27, -5,
- ],
- [
- 29, 25, 26, 15, -8, -13, 7, -12,
- -29, 39, 27, 26, 23, -31, -27, -2,
- -4, 17, 12, 18, 34, 2, -5, -15,
- -42, -13, 4, 22, 10, 14, 19, 30,
- -62, -17, 2, -12, -6, 9, 75, -5,
- -17, 5, -5, 3, -29, 53, -19, -12,
- -3, -31, -17, 1, 12, -4, 2, 2,
- -37, -5, -18, 19, -23, -4, -40, -13,
- ],
- [
- 70, 34, 10, -0, -18, 14, 15, -70,
- 16, 7, 9, 36, 10, -22, -13, 24,
- -7, -43, 36, 8, 11, -17, -14, 5,
- -14, -24, 18, 4, -14, 33, 26, -27,
- -37, 28, -13, -30, 30, -4, 18, 51,
- 25, -23, 1, -8, -32, 12, 54, 17,
- -16, -28, -31, -39, -5, -9, -5, -65,
- 12, 13, -45, -9, 8, 14, 10, 3,
+ -64, -10, 14, -24, 11, -27, 21, 11,
+ 69, -43, -31, -13, -33, 34, 42, 56,
+ -24, 8, 8, -28, 25, 5, 36, -7,
+ -23, -1, -27, 26, 8, -1, 1, 21,
+ 4, -14, -1, -9, 16, -9, -37, 31,
+ -7, -18, -18, -4, 14, 1, -13, 24,
+ -1, 8, -42, -3, 7, 2, 15, -24,
+ 64, 3, -28, -25, 19, 25, -2, -21,
+ ],
+ [
+ 13, -24, -30, -15, -5, 42, 19, 15,
+ -12, -44, 16, 21, 9, -16, 60, 32,
+ -6, 1, 17, 151, -6, -4, 5, 38,
+ 12, -27, -16, -9, 28, -10, -2, -4,
+ -10, -2, -1, -15, 21, 14, -0, -9,
+ 6, -15, 1, -2, 1, -5, -4, -25,
+ -51, 0, -18, 21, -17, -7, -7, -8,
+ -33, -28, -1, -25, -3, -29, 1, 0,
+ ],
+ [
+ -17, -29, -52, 19, 34, 12, -18, -29,
+ -61, -14, -90, -70, 9, 8, 3, -15,
+ 41, -16, 7, -19, 116, -16, 27, 5,
+ 13, 5, -14, -0, -10, 110, -13, 15,
+ -28, -5, 12, -2, 3, 2, 24, 15,
+ 2, 19, 6, 20, 1, 2, 1, 26,
+ -45, 8, 1, -5, 14, 8, -3, 21,
+ -33, -11, 14, -4, -13, 34, -28, 7,
+ ],
+ [
+ -46, -8, 32, 7, -4, -15, -0, -42,
+ -20, -17, 47, -7, 9, -29, 5, 35,
+ 13, 54, -17, -59, -7, 51, 6, 23,
+ 37, -2, -8, 2, -23, 5, -44, 4,
+ 25, -14, -3, -8, 2, -7, -8, 80,
+ -3, -9, -11, -5, 6, -7, -4, 4,
+ 2, 19, 18, -13, -1, 31, -6, 13,
+ -31, -13, 19, -11, -17, -2, -44, 19,
+ ],
+ [
+ 19, 2, 1, 33, -28, -38, -22, -1,
+ -10, 6, 9, -34, 17, -17, 13, -13,
+ 59, -9, 98, -9, -36, 6, 70, -10,
+ 6, 51, 2, -9, -2, -12, 12, 37,
+ 5, -5, -5, 0, -3, 3, -14, 16,
+ 27, -16, -6, -9, -1, 4, -3, -19,
+ -5, -2, -9, -3, -16, -4, 11, -17,
+ -23, -35, 8, -13, 4, 6, -27, -36,
+ ],
+ [
+ 3, -2, -14, -14, -16, -26, -30, -35,
+ 13, 4, -18, -1, -41, -34, 10, -29,
+ 7, -2, -7, 63, -30, -20, 9, 146,
+ 11, 7, 63, -9, -14, 17, 4, 2,
+ 0, 70, -8, -10, 2, 0, -7, -2,
+ 16, 0, -12, -9, -3, -17, 2, -24,
+ -19, 1, -6, 1, -2, 8, -10, 5,
+ -4, -2, 11, -4, -11, 17, -7, 4,
+ ],
+ [
+ 25, 20, 36, 30, 5, -41, -114, -7,
+ 17, 10, -2, 34, -12, -47, -31, -100,
+ 24, 14, -2, 1, 97, 18, -4, 20,
+ 1, 9, 10, 28, 8, -8, 6, -6,
+ -8, 8, 18, 13, -10, 7, -6, -18,
+ -6, 15, 14, -2, 18, 3, -1, -6,
+ 0, -8, -11, 3, 3, 4, 1, -23,
+ -23, -18, -0, 2, 7, 16, -8, -23,
+ ],
+ [
+ 11, 17, -20, 17, -2, -26, 49, -32,
+ -13, 14, 9, 7, -46, 1, -50, -12,
+ 2, 4, 8, 4, 5, 154, 16, 19,
+ 9, -10, 5, 22, 1, -12, 3, -2,
+ -2, -5, 20, -2, 5, -5, -20, 16,
+ -2, 3, -4, -2, 9, -14, -1, -4,
+ 5, -18, -8, -4, -5, -7, -2, -33,
+ -11, -15, -17, -0, -9, -12, 9, -17,
+ ],
+ [
+ -49, -10, -27, 13, 20, -10, 22, 47,
+ -51, -16, -8, -13, 4, 8, 2, 21,
+ -36, -7, -46, -23, -10, -21, 4, -6,
+ -15, -19, -10, -4, -3, -7, 14, 6,
+ 9, 15, 5, 15, 7, 11, -24, 1,
+ 24, 15, 7, 12, 8, 2, -2, 12,
+ 21, 7, 14, 4, -4, 9, 17, 13,
+ -7, 22, 18, 5, 11, -6, -28, 18,
+ ],
+ [
+ 12, -10, -30, -16, 14, 4, 20, 1,
+ -46, 7, -23, 18, 6, 4, -4, 2,
+ -14, -7, -22, -31, -15, -10, -1, -19,
+ -2, -1, -19, -12, -13, -14, -3, -8,
+ 14, 2, 2, 1, 17, -20, 0, -7,
+ 5, 15, -4, 7, 13, 3, -3, -3,
+ 19, 13, 11, 9, 9, 15, 3, 40,
+ 17, 5, 11, 11, -3, 10, 2, 17,
+ ],
+ [
+ -12, -14, 3, 9, 22, 12, 16, 20,
+ 2, 4, -1, -14, 0, 7, 2, 9,
+ -6, -4, -15, -32, -45, -10, 5, 6,
+ -6, -9, -0, -5, -11, -23, -3, 8,
+ -4, -9, 7, -1, -1, -1, -1, -5,
+ 3, 10, 12, 5, 13, 1, -3, -8,
+ 17, 10, 15, 8, 4, -10, -2, -4,
+ -11, -15, 14, 9, 4, -10, 24, 16,
+ ],
+ [
+ -1, -0, -18, -6, 12, 17, -12, -32,
+ 1, 1, 4, -0, -10, 4, -9, 0,
+ 12, 0, -4, -36, -26, -12, -10, -7,
+ 9, 8, -15, -8, -20, -17, 8, -15,
+ 11, -8, 9, 3, 2, 5, 9, -15,
+ 2, -2, 7, 11, 5, 10, 9, 4,
+ 13, 4, 11, 5, 16, 3, 3, 15,
+ 10, 16, 21, 13, 4, 14, -34, 5,
+ ],
+ [
+ 29, 19, 1, 23, 3, -4, -23, 22,
+ 29, 11, 11, -9, 7, -27, -7, -42,
+ 8, 3, 2, -11, -15, -21, -13, -22,
+ 1, 5, -3, -13, -0, -17, 4, -16,
+ 10, -15, -2, 9, -8, 2, -1, 18,
+ 4, -11, 12, -3, 15, 5, 8, 11,
+ -2, -3, -2, 2, 9, 2, -8, 1,
+ -1, -8, 15, 0, 2, 3, 6, -7,
+ ],
+ [
+ 27, -5, 26, 3, 3, 0, -2, -15,
+ 5, 9, 1, 4, -8, 13, -19, -68,
+ 10, 17, 13, -11, -13, -45, -0, -6,
+ 3, 11, -0, 11, -13, -13, -21, -2,
+ -2, 8, 7, 2, -0, -4, 6, 2,
+ 5, 7, -1, 9, 3, 11, -4, 21,
+ 3, -6, 7, 2, 13, 4, 2, -14,
+ -19, -10, -2, 3, 9, 21, -3, 3,
+ ],
+ [
+ -16, 28, 25, 20, -8, 7, 10, 38,
+ -3, 1, 16, 14, 2, -3, -18, -91,
+ 8, -12, 1, 0, 5, -8, -51, -58,
+ -9, 4, 6, 16, 15, 5, 4, -0,
+ 19, 3, 11, 24, 5, 1, -4, -1,
+ -20, 5, 7, 4, 8, 7, 12, -28,
+ -12, 3, -0, 5, 10, -11, 3, -4,
+ -4, -18, -8, 11, 19, 13, -6, -2,
+ ],
+ [
+ -24, -23, -14, -16, 9, -11, -4, 8,
+ -19, -23, -20, -40, -18, 34, 34, 39,
+ -14, -47, -21, 14, 9, 29, 30, 6,
+ -19, -3, 1, -1, 13, 23, -42, 16,
+ -23, -19, -5, 5, 15, 59, 23, 23,
+ -8, 25, -6, 13, 16, 0, -0, 33,
+ 38, 23, 26, -0, -33, -10, -67, -9,
+ -20, 38, -22, 7, 2, -23, 33, -39,
+ ],
+ [
+ -29, -20, -34, -15, 43, 17, -2, 11,
+ -28, -5, -31, 21, 20, 49, 37, -0,
+ -5, -15, 18, 14, 14, 14, 12, -28,
+ 36, 36, 30, 24, 24, 3, 12, 10,
+ 29, 56, 0, 42, -10, 7, -14, -60,
+ 35, 31, 20, 20, -1, -43, -19, -35,
+ 31, -26, -7, 6, -17, -41, -3, -96,
+ 10, -14, -8, -7, -1, -55, -12, -54,
+ ],
+ [
+ 3, -27, -40, -12, -12, -4, 40, 71,
+ 15, -17, -14, 0, 21, 13, 16, 35,
+ 12, 22, 1, 2, 40, 11, 29, -9,
+ 19, 35, 12, 17, 18, 31, -13, 9,
+ 53, 23, 19, 12, 2, -26, 9, -27,
+ -53, 29, 2, 27, -28, 11, 1, -32,
+ -8, 1, -45, 17, -12, -41, -46, -67,
+ 17, -9, -8, -13, -23, -4, -37, -67,
+ ],
+ [
+ 19, 20, -16, -17, 14, -9, 8, -23,
+ 25, -2, 6, 10, -14, 8, 8, 42,
+ 7, 23, -4, 3, 7, 10, 9, 21,
+ 10, 25, 27, 10, 35, 1, 22, 15,
+ -2, 7, 25, 18, 5, -5, 8, -9,
+ -20, -30, 20, 5, -3, 1, -15, -9,
+ -12, -50, -2, -3, 6, 16, -27, 13,
+ -23, 4, -11, -23, -30, -25, -53, -81,
+ ],
+ [
+ 28, 2, -2, 17, 1, -5, -16, 13,
+ 12, 7, 13, 1, -11, -11, 2, 39,
+ -23, 3, -4, 1, -6, -6, 6, 20,
+ -13, 9, 20, 30, -3, 22, 32, 24,
+ 3, -3, 2, 13, 18, 27, 4, -3,
+ -6, -7, -20, -3, 19, 39, -1, -31,
+ 18, -28, -35, -2, -8, 3, -6, -22,
+ -52, -5, -19, 4, -31, -31, 15, -51,
+ ],
+ [
+ 14, 42, 4, -5, -4, 35, -17, 14,
+ 15, 30, 31, 10, -7, -7, -31, 8,
+ 7, -8, 13, 30, 12, -2, -8, 25,
+ -9, 21, 4, 26, 5, 17, 33, -8,
+ -13, -11, -13, 3, 6, 24, 37, -4,
+ -58, -20, 11, -9, 12, -3, 8, -7,
+ -49, -28, -7, -12, -13, -34, 11, -1,
+ -24, -24, -1, -8, -11, -24, -26, -4,
+ ],
+ [
+ 28, 24, 24, 15, -9, -13, 5, -13,
+ -30, 39, 26, 25, 22, -33, -27, -3,
+ -4, 17, 11, 16, 31, 3, -5, -16,
+ -42, -13, 4, 21, 11, 14, 25, 31,
+ -62, -18, 6, -12, -7, 13, 76, -1,
+ -16, 3, -5, 3, -30, 55, -18, -2,
+ -4, -32, -17, 1, 13, -6, -0, -0,
+ -39, -7, -16, 16, -22, -2, -37, -13,
+ ],
+ [
+ 68, 31, 8, -1, -20, 16, 15, -70,
+ 16, 6, 8, 36, 11, -22, -12, 24,
+ -6, -44, 34, 8, 10, -17, -13, 4,
+ -14, -24, 19, 3, -14, 33, 28, -25,
+ -38, 29, -13, -29, 32, -3, 20, 55,
+ 26, -23, 0, -7, -34, 12, 55, 16,
+ -16, -28, -32, -39, -7, -9, -4, -67,
+ 13, 11, -46, -9, 9, 14, 10, 6,
],
];
internal static readonly short[][] MiddleGameEnemyRookTable =
[
[
- -28, -35, 45, -26, 55, 72, 38, -115,
- -55, 61, 83, 126, 32, 8, 48, 33,
- -24, 31, 22, 44, 50, 34, 70, 32,
- 41, 19, 28, 16, 20, -12, -27, -36,
- -50, -4, -9, -30, -29, -35, 4, -1,
- -42, 9, -48, 11, -43, -49, 9, -32,
- -50, 10, 25, -11, -29, -41, -43, -32,
+ -27, -34, 46, -26, 55, 71, 37, -115,
+ -55, 62, 84, 126, 33, 8, 47, 33,
+ -24, 31, 20, 43, 50, 34, 69, 33,
+ 40, 18, 30, 16, 20, -11, -26, -36,
+ -50, -4, -9, -31, -29, -36, 5, -1,
+ -43, 9, -48, 11, -42, -49, 8, -32,
+ -50, 10, 25, -12, -28, -41, -43, -32,
-12, -7, -9, -9, -16, -5, -41, -42,
],
[
- -140, -96, -98, 59, 35, 15, 9, 45,
- 135, -55, 17, 54, 50, 25, 4, 6,
- 11, 36, 61, 63, 33, 14, 36, -12,
- 27, 28, 7, -14, 28, -15, -4, -29,
- -18, -3, -0, -8, -15, -24, 2, -30,
- -8, -12, -0, -12, -11, -26, -8, -17,
- -17, 6, 10, -16, -17, -20, -6, -39,
- -1, 5, 6, -7, -8, 8, -26, -25,
- ],
- [
- 67, -85, -75, -89, 27, -15, 102, 85,
- 26, 48, -93, 29, 23, -11, -4, 13,
- 16, 37, 40, 36, 5, -7, 26, 13,
- 4, 21, 28, 33, -10, 2, -11, -12,
- -15, 19, -14, 10, -2, -19, -21, -31,
- -35, -11, 10, -2, -17, -5, 5, -21,
- -14, 26, 5, 2, -13, -16, -20, -49,
- -5, -3, 19, 0, -5, 4, -26, -24,
- ],
- [
- 47, 103, -71, -30, 17, 42, 82, -64,
- 54, 53, -1, -2, 68, 41, 60, 56,
- 33, 81, 79, 6, 2, 51, 11, 31,
- -70, 21, -7, 10, -2, -12, -41, 2,
- -2, -29, -23, -43, 35, -1, -26, 6,
- -46, -41, 0, -34, -30, -72, 24, -30,
- -53, -63, -6, -12, -9, -33, -18, -23,
- -3, -23, -6, -10, -10, -7, -32, -30,
- ],
- [
- 115, 73, -10, -49, -85, -105, 85, 20,
- 70, 34, 51, 56, -83, 30, 13, 22,
- 9, -26, 22, 14, 53, 26, 59, 38,
- 6, -16, -19, -11, -12, -10, 52, -2,
- -18, -51, 7, 2, 3, -26, -8, -5,
- -33, -24, -16, -16, -17, -13, 23, -15,
- -21, -20, -15, -16, -9, -14, -16, -13,
+ -138, -94, -97, 60, 35, 14, 9, 44,
+ 135, -54, 17, 54, 49, 25, 3, 4,
+ 11, 36, 61, 63, 32, 14, 35, -13,
+ 27, 28, 8, -13, 28, -14, -3, -29,
+ -18, -3, 0, -8, -15, -24, 3, -29,
+ -8, -11, -1, -12, -11, -26, -8, -17,
+ -17, 6, 10, -17, -17, -20, -7, -39,
+ -1, 5, 6, -7, -8, 8, -26, -24,
+ ],
+ [
+ 67, -83, -74, -88, 27, -16, 104, 86,
+ 26, 48, -93, 28, 22, -11, -5, 12,
+ 15, 37, 41, 37, 5, -7, 26, 12,
+ 4, 21, 29, 34, -9, 3, -11, -12,
+ -15, 19, -14, 10, -3, -19, -20, -31,
+ -35, -10, 10, -3, -17, -6, 5, -22,
+ -15, 26, 5, 1, -13, -16, -20, -50,
+ -5, -3, 19, 0, -6, 4, -26, -24,
+ ],
+ [
+ 48, 102, -72, -29, 17, 43, 82, -63,
+ 53, 53, -0, -3, 71, 42, 59, 54,
+ 34, 82, 78, 6, 1, 51, 11, 31,
+ -71, 21, -6, 10, -2, -11, -41, 4,
+ -2, -28, -23, -44, 36, 0, -24, 5,
+ -48, -41, 0, -34, -30, -73, 22, -30,
+ -53, -64, -6, -14, -9, -34, -17, -23,
+ -2, -24, -6, -11, -10, -7, -32, -29,
+ ],
+ [
+ 116, 73, -10, -49, -84, -105, 85, 20,
+ 70, 34, 50, 57, -82, 31, 13, 21,
+ 8, -26, 22, 13, 53, 27, 59, 37,
+ 6, -15, -18, -11, -11, -9, 52, -1,
+ -19, -50, 7, 3, 4, -25, -6, -6,
+ -34, -24, -17, -17, -17, -13, 23, -16,
+ -22, -22, -16, -17, -9, -14, -17, -14,
-21, -21, -16, -1, 4, 6, -18, -20,
],
[
- 18, 15, 74, 91, -44, -57, -57, 173,
- -3, 35, 27, 65, 10, 55, 47, 62,
- 1, -19, -13, 16, 36, 148, 64, 43,
- -20, -32, 13, -43, -17, 61, 39, 14,
- -44, -65, -64, -44, -13, 12, -12, -6,
- -31, -64, -11, -31, -9, -1, 34, -12,
- -23, -35, -40, -23, -14, -34, -24, -43,
- -39, -47, -36, -35, -15, -5, -11, -19,
- ],
- [
- 6, 44, 9, 34, 92, -293, -110, -66,
- -1, -5, 13, 30, 14, 37, 41, 107,
- -8, -5, 3, 5, 30, 34, 78, 40,
- -13, -12, 5, -7, 1, 10, 23, 17,
- -18, -6, -16, -10, -7, -1, 17, 8,
- -11, -22, -21, -15, -10, 6, 33, 11,
- -23, -12, -9, -5, -3, -3, 19, -6,
- -6, -20, -17, -6, -6, 11, 1, -5,
- ],
- [
- 19, -9, 10, 30, 142, 110, -106, -104,
- -7, 20, 18, 40, 39, 57, 73, -98,
- -30, -21, -12, 29, 32, 69, 47, 6,
- -26, -26, -18, 3, 8, 17, 34, 39,
- -27, -9, -36, -28, 6, 15, 28, 3,
- -28, -38, -34, -19, -24, 7, 27, 5,
- -41, -32, -23, -18, -16, -12, 24, 12,
- -24, -38, -31, -16, -14, 4, 8, -14,
- ],
- [
- 29, -34, 63, 62, 6, -68, 12, 15,
- -40, 38, -38, 48, 50, 40, 56, 52,
- 54, 6, 28, 44, 23, 49, -6, -8,
- 36, 12, 64, -10, 29, 5, -31, -50,
- -13, -10, 16, 8, -41, -2, 26, -22,
- -16, -2, 27, -54, -61, -14, -16, -32,
- -19, -16, -16, -44, -15, -17, 11, -43,
- -5, -17, 1, -26, -12, -13, -53, -44,
- ],
- [
- 35, 16, -37, -35, -0, 46, -25, 8,
- -20, 22, 23, -39, 52, 41, 88, 32,
- -9, -24, 49, 46, 12, 19, 13, 44,
- 4, -25, 21, 1, 24, 32, 38, 49,
- -75, -21, 65, -33, -9, 6, -12, -8,
- -10, -3, 29, -17, -1, -72, 8, -30,
- -85, 12, 11, 4, -22, -9, -47, -27,
- -28, -7, 11, -12, -18, -21, -24, -52,
- ],
- [
- 16, 24, -12, 101, -26, 79, 7, 13,
- 0, 8, -31, 75, -23, 20, 24, 41,
- 33, 9, 3, 61, 11, 20, 52, 20,
- -51, 4, 28, 30, 3, -32, -7, -25,
- -53, -68, -3, -3, 36, -10, -26, -16,
- -34, -22, 21, 14, 15, -8, -16, -60,
- -22, -4, 14, 6, -1, 4, -60, -51,
- -17, -21, 7, 3, 8, -9, -46, -59,
- ],
- [
- -3, 52, 53, -6, -7, -0, 11, 67,
- 52, 41, 42, -42, 42, 144, -17, 33,
- 29, 39, 59, -14, 48, 63, 31, -3,
- -39, -21, -19, -13, -2, 17, 20, -51,
- -54, -71, -62, -31, 30, -8, -4, -52,
- -54, -11, 7, 29, 4, -5, -3, -38,
- -32, -17, 4, 35, 0, -10, -23, -40,
- -27, -36, -29, -5, -6, -4, -38, -54,
- ],
- [
- -0, 4, 6, -11, -34, 24, -16, 22,
- 1, 37, 45, 65, 32, 44, 43, -36,
- 9, 44, 45, 42, 17, 50, 62, 62,
- -7, 1, 2, 8, -0, 76, 6, -15,
- -48, -58, -48, -16, 3, -5, 0, -15,
- -17, -57, -21, -27, -7, -14, 47, -33,
- -43, -29, -27, -9, -21, 6, 6, -27,
- -32, -40, -34, -20, -1, 6, -26, -21,
- ],
- [
- 13, -19, -3, -7, 23, 14, 42, 102,
- 24, 36, 36, 50, 14, 17, -53, 134,
- -5, 20, 27, 21, 66, 58, -58, 21,
- -17, -12, 15, 31, 15, 49, -4, -4,
- -47, -46, -33, -13, -21, 14, -40, 6,
- -34, -32, -32, -19, -1, 2, 0, 20,
- -33, -40, -37, -19, -22, -8, -5, -15,
- -28, -41, -35, -25, -18, -2, -23, -19,
- ],
- [
- -23, -53, -19, -31, 8, 17, 37, 58,
- 8, -7, 32, 71, 67, 52, 83, -10,
- -7, -19, 12, 26, 61, 89, 100, -28,
- -46, -10, -2, -2, 14, 15, 42, 36,
+ 16, 17, 74, 90, -43, -56, -56, 173,
+ -2, 35, 28, 67, 12, 56, 47, 65,
+ -1, -19, -13, 16, 37, 148, 65, 40,
+ -19, -33, 13, -43, -16, 62, 39, 14,
+ -45, -66, -64, -44, -13, 11, -13, -7,
+ -31, -64, -12, -31, -9, -0, 33, -12,
+ -24, -36, -40, -23, -14, -34, -25, -43,
+ -39, -48, -37, -34, -15, -5, -11, -18,
+ ],
+ [
+ 5, 43, 7, 33, 91, -289, -108, -65,
+ -2, -6, 12, 29, 13, 36, 44, 106,
+ -9, -5, 3, 5, 30, 34, 78, 38,
+ -13, -12, 6, -6, 2, 10, 24, 17,
+ -18, -6, -16, -9, -7, -0, 18, 9,
+ -11, -21, -22, -14, -10, 6, 33, 10,
+ -23, -12, -9, -6, -3, -3, 19, -6,
+ -6, -20, -17, -6, -7, 11, 1, -5,
+ ],
+ [
+ 18, -8, 10, 31, 141, 109, -105, -103,
+ -8, 20, 18, 38, 37, 57, 73, -98,
+ -30, -22, -12, 29, 33, 69, 47, 6,
+ -26, -26, -18, 3, 8, 17, 35, 39,
+ -27, -9, -35, -28, 7, 16, 28, 3,
+ -28, -37, -34, -19, -24, 7, 27, 5,
+ -41, -32, -23, -19, -15, -12, 25, 12,
+ -24, -38, -31, -16, -15, 4, 8, -14,
+ ],
+ [
+ 29, -35, 62, 62, 5, -67, 11, 16,
+ -41, 37, -37, 49, 50, 41, 54, 53,
+ 54, 4, 32, 45, 24, 49, -6, -8,
+ 38, 13, 67, -9, 29, 5, -32, -50,
+ -13, -10, 16, 9, -40, -2, 27, -21,
+ -17, -1, 26, -54, -61, -15, -16, -32,
+ -20, -17, -17, -45, -15, -17, 11, -44,
+ -6, -18, 0, -26, -13, -13, -54, -44,
+ ],
+ [
+ 36, 15, -38, -35, -2, 45, -23, 8,
+ -20, 23, 22, -41, 53, 41, 86, 32,
+ -9, -20, 48, 50, 13, 19, 13, 44,
+ 3, -24, 20, 3, 26, 33, 39, 48,
+ -75, -20, 66, -33, -10, 7, -13, -9,
+ -10, -2, 30, -17, -1, -73, 7, -30,
+ -83, 9, 11, 2, -22, -10, -46, -28,
+ -29, -8, 10, -12, -20, -22, -25, -52,
+ ],
+ [
+ 14, 24, -11, 100, -26, 78, 9, 13,
+ 1, 8, -27, 74, -20, 21, 23, 40,
+ 32, 8, 6, 61, 14, 21, 52, 20,
+ -51, 5, 30, 31, 5, -31, -7, -24,
+ -54, -68, -2, -3, 37, -11, -26, -16,
+ -35, -21, 20, 14, 14, -8, -16, -60,
+ -23, -6, 13, 6, -1, 4, -61, -51,
+ -17, -22, 7, 3, 6, -9, -47, -59,
+ ],
+ [
+ -4, 53, 54, -6, -9, 0, 9, 65,
+ 55, 41, 44, -41, 42, 144, -19, 32,
+ 30, 40, 60, -10, 47, 67, 32, -4,
+ -38, -19, -19, -10, 1, 19, 21, -51,
+ -53, -70, -62, -31, 29, -8, -4, -53,
+ -54, -11, 6, 29, 3, -5, -6, -39,
+ -34, -17, 2, 34, 1, -10, -23, -42,
+ -27, -37, -30, -5, -7, -4, -40, -54,
+ ],
+ [
+ -1, 3, 5, -11, -36, 22, -16, 23,
+ 1, 38, 46, 65, 31, 42, 41, -37,
+ 9, 44, 46, 42, 18, 49, 63, 61,
+ -5, 1, 3, 9, 1, 79, 7, -14,
+ -48, -57, -47, -16, 3, -4, 0, -14,
+ -17, -57, -22, -27, -7, -14, 46, -33,
+ -44, -30, -28, -10, -21, 7, 6, -27,
+ -32, -40, -34, -20, -2, 5, -27, -21,
+ ],
+ [
+ 13, -19, -3, -6, 22, 14, 40, 102,
+ 23, 36, 36, 49, 14, 18, -53, 133,
+ -5, 21, 29, 21, 67, 60, -57, 22,
+ -16, -11, 16, 32, 15, 50, -3, -4,
+ -47, -46, -33, -12, -21, 14, -41, 7,
+ -34, -31, -33, -20, -1, 1, -0, 19,
+ -34, -41, -38, -20, -22, -8, -5, -15,
+ -28, -42, -35, -25, -19, -2, -23, -19,
+ ],
+ [
+ -24, -54, -20, -31, 8, 16, 37, 58,
+ 7, -8, 32, 71, 67, 53, 84, -9,
+ -8, -19, 13, 27, 61, 89, 101, -26,
+ -46, -10, -1, -1, 15, 16, 44, 36,
-33, -31, -43, -17, -10, 5, 13, 14,
- -32, -35, -32, -35, -12, 3, 12, -11,
- -31, -33, -29, -17, -26, -6, -9, -18,
- -26, -37, -35, -18, -21, -1, -3, -16,
- ],
- [
- 1, 10, 71, 12, -24, -32, -59, 48,
- 15, -22, 61, 26, 20, -4, -54, 48,
- 23, 58, 58, 2, 42, -101, 55, -68,
- 15, 44, -4, 76, 14, -31, 155, 17,
- 87, 68, 81, 8, -3, -39, 24, -145,
- -32, 52, -14, -25, 57, 79, -94, 0,
- -35, -59, 30, -26, 34, -13, -38, -0,
- -47, -4, 4, -50, -48, -94, -86, -146,
- ],
- [
- -48, -3, 29, 33, -30, 6, -9, 6,
- -7, 41, 78, -51, -21, 10, -38, -116,
- -36, -13, 36, -81, -60, -96, -74, -54,
- 15, 6, -9, -17, -11, 47, -40, 42,
- -21, -30, -3, 23, -23, 11, 14, -44,
- 17, 4, -12, 34, 94, 22, -24, 10,
- 4, 27, 34, 25, 73, 29, -81, 6,
- 72, 8, 50, 111, 60, 54, -18, -62,
- ],
- [
- -27, -64, -43, -77, -30, 14, -12, -2,
- 13, 19, -7, -93, 15, -16, 26, -64,
- -32, 99, -6, -6, -65, -9, -6, -49,
- 52, 17, 9, -29, -36, -5, -38, -33,
- 68, 5, -21, 78, 50, -57, -1, -11,
- -24, -35, -13, -26, 52, 12, 20, -8,
- -41, -59, 42, -40, 16, 33, -41, -43,
- 102, 212, 22, 71, 50, 39, 48, -15,
- ],
- [
- -69, -30, 26, -26, -45, -24, 5, -13,
- -64, -24, -14, -91, -73, -91, -64, 10,
- 9, -23, -84, -39, -118, -66, 5, -30,
- 59, 57, -44, -3, -51, -23, -64, 81,
- 29, 8, -7, -9, 30, 30, 8, -15,
- -28, 47, -45, 32, 44, 63, 27, -21,
- 2, -3, -49, -28, -25, 23, 46, 16,
- 36, 88, 138, 36, 161, 166, 104, 15,
- ],
- [
- -9, -51, -16, -41, 9, -24, 17, -1,
- -62, -55, -30, -14, 27, -113, -29, -97,
- -50, -115, -6, -40, 42, 12, 25, -36,
- -29, 1, -13, 20, -20, 44, -37, -68,
- 26, 57, -14, -31, -8, 33, 6, 40,
- -78, 16, 35, 28, -12, 1, -8, 32,
- -6, 0, 5, 6, -34, 145, 71, 39,
- 17, 17, 29, 51, 88, 152, -18, 74,
- ],
- [
- -3, -28, -70, -56, 4, 1, 0, 6,
- -60, 98, -70, -37, 12, -15, 16, -77,
- -28, 70, -50, 60, -34, 38, -25, -8,
- -119, -12, -67, 54, 19, 10, -7, 71,
- -44, 48, 17, -17, 42, -25, 24, -12,
- -13, 22, 5, -9, -35, -2, -76, 18,
- 40, -73, -1, 65, 23, -42, 17, 45,
- -76, -27, 5, 26, 160, 17, 66, 123,
- ],
- [
- 36, -53, -35, 27, -67, 1, 6, -30,
- -52, -17, 16, -98, -35, -5, -52, -41,
- -27, -8, -79, -57, -55, 58, 1, 44,
- -31, 16, 16, -43, 56, 75, 10, 41,
- -35, 1, 26, 49, 18, -2, 14, -10,
- 21, -13, -60, -7, 29, 33, -4, -33,
- 44, 26, -42, 24, 13, 20, 33, 34,
- 40, -44, -43, 92, 25, 42, 20, 71,
- ],
- [
- 29, -22, -17, -25, -41, 61, -25, -62,
- -19, -51, -16, -83, 48, 21, 81, -19,
- -78, 21, 13, -62, 8, -71, -4, 22,
- 32, 49, 27, -39, -9, 126, 42, 13,
- 27, 33, 54, 28, 9, 29, 15, 9,
- 41, 17, -45, -9, -7, -50, 34, 10,
- 10, 64, -1, -33, 73, -1, -3, -15,
- -85, -20, -11, -49, -45, -48, 16, 5,
+ -33, -34, -32, -35, -12, 3, 12, -12,
+ -31, -33, -29, -18, -26, -6, -9, -19,
+ -26, -37, -35, -18, -22, -1, -4, -15,
+ ],
+ [
+ 3, 10, 69, 12, -24, -33, -53, 47,
+ 14, -20, 61, 25, 19, -4, -51, 47,
+ 24, 54, 59, 5, 43, -101, 58, -65,
+ 16, 45, -4, 78, 18, -30, 155, 16,
+ 86, 70, 82, 7, 0, -36, 19, -142,
+ -30, 49, -17, -28, 58, 78, -95, -1,
+ -39, -57, 26, -26, 32, -13, -39, 3,
+ -46, -4, 3, -51, -49, -97, -89, -147,
+ ],
+ [
+ -44, -2, 34, 31, -31, 6, -8, 6,
+ -9, 41, 77, -49, -23, 12, -37, -114,
+ -34, -13, 34, -83, -64, -96, -71, -51,
+ 15, 6, -10, -21, -13, 44, -40, 40,
+ -23, -30, -7, 23, -24, 12, 14, -45,
+ 17, 3, -11, 34, 91, 22, -24, 8,
+ 5, 26, 36, 30, 74, 27, -82, 7,
+ 76, 11, 54, 106, 59, 54, -12, -63,
+ ],
+ [
+ -26, -61, -45, -78, -27, 12, -12, 3,
+ 16, 22, -15, -94, 14, -11, 32, -66,
+ -31, 95, -2, -4, -66, -1, -6, -50,
+ 51, 13, 9, -34, -39, -5, -46, -35,
+ 70, 8, -22, 77, 47, -57, -2, -11,
+ -23, -36, -13, -23, 52, 11, 17, -7,
+ -37, -58, 43, -42, 12, 35, -40, -48,
+ 111, 213, 18, 77, 43, 41, 43, -13,
+ ],
+ [
+ -72, -31, 29, -26, -42, -22, 8, -14,
+ -66, -26, -13, -89, -70, -97, -57, 12,
+ 6, -22, -86, -37, -121, -69, 1, -30,
+ 56, 60, -44, -4, -51, -28, -63, 84,
+ 34, 6, -8, -10, 28, 34, 8, -17,
+ -29, 42, -44, 31, 42, 65, 31, -24,
+ 1, 2, -51, -25, -23, 23, 42, 17,
+ 36, 96, 136, 34, 166, 165, 100, 12,
+ ],
+ [
+ -2, -58, -7, -37, 12, -25, 18, -2,
+ -61, -60, -30, -13, 23, -114, -24, -94,
+ -53, -119, -8, -36, 42, 10, 21, -34,
+ -33, -0, -15, 20, -22, 42, -37, -64,
+ 23, 60, -17, -29, -10, 34, 6, 41,
+ -78, 5, 33, 26, -13, 3, -9, 32,
+ -7, -1, 3, 6, -33, 147, 66, 42,
+ 17, 19, 39, 52, 81, 160, -17, 76,
+ ],
+ [
+ -4, -21, -69, -51, 5, 6, -2, 6,
+ -63, 95, -69, -38, 11, -18, 16, -77,
+ -29, 69, -55, 64, -32, 42, -25, -4,
+ -118, -12, -69, 58, 15, 9, -9, 66,
+ -44, 48, 15, -21, 43, -27, 22, -8,
+ -16, 21, 7, -10, -35, -4, -83, 18,
+ 36, -75, 3, 67, 26, -40, 14, 42,
+ -66, -24, 7, 27, 156, 12, 67, 125,
+ ],
+ [
+ 34, -53, -39, 26, -67, 3, 8, -32,
+ -49, -21, 20, -96, -31, -4, -54, -37,
+ -27, -6, -78, -54, -57, 59, 1, 40,
+ -34, 13, 14, -46, 56, 78, 10, 44,
+ -36, -1, 27, 47, 20, -1, 14, -11,
+ 17, -15, -58, -12, 29, 36, -4, -30,
+ 44, 22, -41, 25, 11, 23, 31, 32,
+ 45, -45, -41, 91, 27, 47, 18, 70,
+ ],
+ [
+ 30, -21, -15, -30, -41, 65, -23, -65,
+ -18, -51, -15, -83, 48, 23, 78, -21,
+ -78, 19, 12, -60, 7, -69, -6, 22,
+ 29, 47, 24, -32, -11, 123, 41, 12,
+ 28, 32, 54, 29, 10, 29, 13, 8,
+ 44, 12, -41, -9, -7, -49, 39, 9,
+ 10, 63, -1, -33, 71, -2, -2, -15,
+ -80, -20, -11, -49, -44, -47, 14, 8,
],
];
internal static readonly short[][] EndGameEnemyRookTable =
[
[
- -2, -10, -21, 21, 7, 2, 13, 38,
- -97, 17, -38, -48, -6, 14, -8, 7,
- 25, -2, -0, -4, -8, -2, -12, -6,
- -91, -1, -11, -17, 8, 17, 22, 5,
- 35, 14, -9, 34, 47, 24, 14, 17,
- -32, -24, 16, -21, 19, 28, -6, 28,
- -15, 6, -27, 4, 26, -0, -32, -3,
- 4, -4, -2, -5, 16, 18, 10, 8,
- ],
- [
- -141, -126, -113, 44, 33, 71, 44, 73,
- -39, 47, 15, -15, 1, 23, 19, 18,
- -23, 9, -31, -17, 4, 16, 1, 28,
- -34, -11, -3, 20, -3, 18, 24, 38,
- -6, -17, -8, 10, 24, 30, 30, 18,
- -42, -4, -14, 6, 16, 29, -13, 2,
- -32, -10, -16, 11, 13, 13, -9, 25,
- -13, -26, -26, 0, 7, 10, 2, 2,
- ],
- [
- -42, -133, -159, -172, 19, 71, 50, 64,
- 23, 21, -137, 8, 44, 46, 43, 32,
- -1, -10, -10, 3, 11, 35, 25, 17,
- -15, 0, -16, 8, 17, 28, 17, 43,
- -12, -28, 13, -4, 28, 32, 1, 44,
- 10, -4, -21, -8, 14, 8, 11, 20,
- -21, -48, -17, -13, 2, 26, 30, 28,
- -3, -5, -29, -10, 6, 19, 0, -0,
- ],
- [
- 7, 74, -98, -84, -84, 80, 17, 98,
- 16, -1, 25, -8, 0, 5, 9, 24,
- 11, -9, -26, 3, 6, -27, 29, -0,
- 29, -36, -6, 2, -4, -1, 9, -2,
- -29, 3, -5, 43, -15, -12, 27, -33,
- -6, 3, 0, 1, -1, 39, 1, 47,
- -3, 27, -34, 3, -8, -18, -20, -27,
- -11, 9, -15, 8, -0, -5, -9, -19,
- ],
- [
- 22, 34, 56, -113, -125, -132, 32, 152,
- 17, 26, 7, 7, -47, 28, 32, 37,
- 37, 22, -2, -9, -12, -4, -10, 11,
- 3, 26, 22, -11, 10, 2, -11, -6,
- 29, 25, -8, -9, -33, 4, 14, -3,
- 18, 16, -10, -12, -5, -5, -15, 11,
- -4, 8, 1, -8, -30, -1, 2, -13,
- 6, 8, -1, -21, -7, -11, -20, -29,
- ],
- [
- 80, 82, 82, 22, -117, -141, -141, -93,
- 31, 17, 19, -3, 3, -35, 28, 7,
- 35, 35, 43, -3, -23, -49, -0, 4,
- 39, 36, 8, 19, -4, -32, -21, 4,
- 17, 37, 37, 22, -6, -18, 11, 13,
- 6, 17, 15, 10, -15, -16, -34, -25,
- 3, 7, 22, 8, -0, -15, -3, -4,
- 11, 11, 10, 12, -12, 1, -19, -36,
- ],
- [
- 131, 106, 144, 92, 74, -430, -266, -203,
- 38, 41, 48, 26, 31, 34, -7, -17,
- 21, 28, 30, 29, -2, -17, -4, -16,
- 27, 31, 26, 29, 14, -5, -25, -20,
- 25, 26, 29, 24, 10, -4, -23, -29,
- 17, 13, 25, 15, 7, -21, -38, -49,
- 10, 10, 20, 20, 2, -2, -43, -29,
- 14, 11, 18, 10, 6, 1, -34, -34,
- ],
- [
- 90, 122, 126, 78, 50, 101, -158, -162,
- 22, 15, 36, 12, 21, -1, 20, -12,
- 36, 31, 44, 4, -7, -21, -0, -16,
- 5, 1, 30, 6, 13, 1, -33, -66,
- -3, 4, 22, 11, -11, -11, -42, -40,
- 3, -15, 3, 2, -4, -23, -37, -63,
- -5, 14, -2, 3, -4, -3, -42, -48,
- -3, -2, 5, -3, 4, -8, -41, -50,
- ],
- [
- -7, 15, 3, -18, 4, 49, 19, 3,
- 11, 4, 14, -16, -6, -5, -13, -20,
- -30, -20, -21, -5, 9, 10, 12, 20,
- -32, -34, -22, 4, -3, 15, 30, 31,
+ -1, -10, -22, 22, 7, 3, 13, 38,
+ -97, 16, -38, -48, -6, 13, -8, 7,
+ 24, -2, 0, -4, -8, -2, -12, -6,
+ -91, -1, -12, -16, 7, 16, 21, 4,
+ 34, 13, -8, 35, 47, 24, 13, 17,
+ -32, -24, 16, -21, 19, 27, -5, 29,
+ -16, 6, -27, 4, 26, 1, -32, -2,
+ 5, -4, -1, -4, 17, 19, 10, 9,
+ ],
+ [
+ -142, -127, -114, 44, 33, 71, 44, 74,
+ -38, 46, 14, -16, 2, 23, 19, 19,
+ -23, 8, -31, -16, 4, 15, 2, 29,
+ -33, -12, -3, 19, -2, 17, 24, 38,
+ -6, -17, -8, 10, 24, 30, 30, 17,
+ -42, -4, -14, 6, 17, 29, -12, 2,
+ -33, -10, -16, 11, 12, 13, -10, 25,
+ -13, -26, -26, 0, 7, 11, 2, 1,
+ ],
+ [
+ -43, -133, -160, -172, 18, 71, 49, 64,
+ 22, 19, -139, 6, 43, 45, 43, 32,
+ -0, -9, -9, 2, 11, 35, 24, 17,
+ -13, 2, -16, 7, 18, 28, 17, 43,
+ -11, -27, 13, -4, 28, 31, 0, 45,
+ 11, -3, -21, -7, 14, 9, 11, 21,
+ -19, -48, -16, -13, 2, 26, 30, 29,
+ -3, -5, -29, -10, 6, 19, -0, -1,
+ ],
+ [
+ 6, 74, -98, -84, -84, 78, 16, 97,
+ 17, -1, 25, -7, -2, 5, 9, 24,
+ 10, -9, -26, 4, 6, -27, 27, -1,
+ 29, -36, -6, 4, -3, -2, 9, -3,
+ -29, 3, -4, 43, -17, -13, 27, -32,
+ -4, 3, 1, 2, -1, 39, 1, 46,
+ -4, 29, -33, 6, -7, -17, -20, -27,
+ -11, 10, -14, 9, 0, -4, -9, -20,
+ ],
+ [
+ 20, 33, 55, -114, -126, -133, 32, 151,
+ 16, 25, 6, 5, -48, 27, 30, 35,
+ 38, 22, -1, -8, -11, -3, -11, 12,
+ 3, 26, 22, -10, 11, 3, -10, -6,
+ 30, 25, -8, -9, -33, 4, 14, -2,
+ 18, 18, -11, -12, -5, -5, -14, 12,
+ -3, 9, 1, -8, -30, -1, 3, -12,
+ 6, 8, -1, -20, -6, -10, -22, -30,
+ ],
+ [
+ 81, 81, 82, 22, -117, -141, -141, -93,
+ 30, 17, 18, -4, 1, -35, 27, 5,
+ 35, 35, 43, -3, -24, -50, -1, 4,
+ 39, 37, 9, 19, -4, -32, -20, 5,
+ 18, 36, 37, 22, -6, -17, 11, 13,
+ 7, 18, 15, 11, -15, -16, -33, -25,
+ 3, 7, 23, 8, -0, -15, -3, -3,
+ 11, 12, 10, 12, -12, 1, -20, -36,
+ ],
+ [
+ 132, 106, 145, 93, 74, -429, -269, -205,
+ 38, 41, 48, 27, 32, 34, -7, -15,
+ 22, 29, 30, 29, -2, -15, -6, -13,
+ 27, 31, 26, 29, 14, -4, -26, -19,
+ 25, 26, 29, 24, 9, -5, -24, -29,
+ 17, 13, 25, 15, 7, -21, -38, -48,
+ 9, 10, 21, 20, 2, -2, -44, -29,
+ 14, 11, 18, 10, 6, 1, -35, -35,
+ ],
+ [
+ 91, 122, 125, 78, 51, 101, -159, -164,
+ 22, 15, 37, 13, 22, -1, 18, -19,
+ 37, 32, 44, 4, -8, -21, 1, -17,
+ 6, 2, 30, 7, 14, 2, -31, -65,
+ -3, 4, 22, 11, -11, -12, -42, -40,
+ 3, -14, 4, 3, -4, -23, -37, -63,
+ -5, 14, -1, 4, -4, -3, -42, -48,
+ -3, -2, 5, -3, 4, -8, -42, -51,
+ ],
+ [
+ -7, 15, 3, -18, 4, 49, 20, 4,
+ 11, 3, 14, -16, -5, -5, -13, -20,
+ -29, -23, -24, -5, 9, 9, 12, 20,
+ -32, -34, -24, 4, -3, 15, 30, 31,
-12, -6, -21, -26, 25, 18, -6, 18,
- -13, -28, -23, -8, 23, 1, 17, 16,
- -21, -14, -4, 23, 9, 13, 3, 0,
- -3, -10, -9, 11, 10, 17, 3, -4,
- ],
- [
- -2, -0, 19, 33, 16, 13, 32, 9,
- -4, -10, 11, 7, -2, 1, -20, -3,
- 2, 8, -58, -26, 6, 9, 3, -10,
- 5, -0, -43, 7, -8, -1, 4, -4,
- 15, -6, -33, 5, 10, -3, 17, 16,
- -6, -15, -33, 1, 0, 33, -1, 9,
- 14, -28, -30, -17, 11, -12, 17, 0,
- 15, 3, -24, 1, 15, 26, -7, 11,
- ],
- [
- 6, 5, 16, -6, 25, -9, 34, 23,
- -0, -15, 11, 64, 16, -1, 0, -7,
- -9, 2, 1, -14, 3, 1, -10, -4,
- 18, -4, -12, -34, -2, 15, 4, 16,
- 8, 14, -5, -20, -17, 11, 13, 12,
- -4, -1, -27, -28, -16, 4, -5, 19,
- -15, -18, -15, -27, -18, -14, 19, 13,
- 3, -5, -18, -10, -10, 14, 1, 5,
- ],
- [
- 18, 2, -4, 17, 26, 33, 33, 6,
- -6, -8, -6, 1, -2, -31, -9, -10,
- 7, -1, -5, 6, -82, -22, -4, 10,
- 29, 21, 18, -4, 3, -15, -4, 24,
- 20, 32, 30, 4, -27, -4, -3, 23,
- 7, -0, -11, -14, -17, -9, 4, 9,
- 6, -11, -11, -33, -22, -19, -8, 5,
- 13, 3, 5, -9, -7, 2, -6, 6,
- ],
- [
- -0, 16, 14, 15, 22, 22, 35, 11,
- 4, -4, -2, -15, -10, -14, -17, 2,
- 14, 2, -3, -13, -1, 43, -26, -18,
- 11, 8, 10, 1, -7, -37, -6, 6,
- 20, 21, 20, 7, -10, -12, -5, -8,
- -0, 16, 4, 11, -4, -20, -31, -9,
- 1, -5, 7, 1, -1, -28, -19, -6,
- 11, 7, 8, 4, -6, -9, -12, -15,
- ],
- [
- -15, 10, 14, 10, 3, 29, 20, -19,
- -5, -1, -3, -6, 10, -5, -3, -46,
- 5, 5, 7, 1, -11, -12, -26, -18,
- 19, 19, 15, 1, -2, -17, -37, -6,
- 23, 25, 28, 14, 7, -16, -3, -16,
- 11, 12, 18, 11, -9, -7, -19, -39,
- 11, 15, 23, 11, 4, -5, -25, -17,
- 12, 13, 14, 10, 2, 0, -18, -29,
- ],
- [
- -3, 23, 26, 32, 14, 21, 20, -8,
- 4, 7, 6, -13, -1, -23, -8, 2,
- 4, 8, 8, -1, -15, -32, -42, -23,
- 22, 10, 21, 16, 7, -10, -10, -51,
- 7, 19, 28, 16, -2, -3, -3, -30,
- 3, 5, 10, 17, 3, -10, -3, -41,
- 12, 5, 13, 10, 9, -9, -5, -27,
- 3, -1, 15, 4, 9, 1, -13, -50,
- ],
- [
- 34, 2, -6, 16, 23, 54, 17, -12,
- -6, 9, -15, -6, -7, 21, 27, 6,
- -27, 5, -15, 9, -6, 31, 2, 27,
- 33, -13, -26, -26, 2, 31, -14, 11,
- -20, -13, -53, -14, 7, -5, -17, 33,
- 5, -19, 7, -9, -47, -24, 2, 8,
- -38, 8, -5, 5, -36, -3, -20, -1,
- -36, -8, -18, 24, 31, 27, 4, 49,
- ],
- [
- 14, 11, 9, 16, 50, 18, 5, -1,
- 5, -22, 1, 8, 19, 16, 34, 20,
- 16, -15, -18, 12, 38, 27, 40, 4,
- 1, -20, 10, -2, 15, 2, -8, -17,
- 25, -23, 19, -2, 22, 19, -10, 20,
- -19, 17, 38, -25, -23, -22, 4, 30,
- -28, -38, -20, -22, -34, -5, 40, 2,
- -63, -62, -29, -30, -29, -26, -24, 8,
- ],
- [
- 31, 18, 40, 32, 12, 27, 27, 2,
- 0, -14, 45, 32, 5, -0, 17, 28,
- 17, -41, 8, -3, 14, -13, -15, 19,
- -8, 10, 48, 3, 20, -2, 37, 19,
- -9, -12, -20, -17, 5, 16, -20, 0,
- 15, -20, -12, -1, 1, -4, 27, -5,
- 26, -8, -67, -2, 2, -1, 22, -12,
- -44, -95, -81, -37, -16, 4, -17, -32,
- ],
- [
- 27, 11, -3, 60, 29, 34, 34, 34,
- 13, 6, 7, 27, 24, 23, 17, 3,
- -5, 14, 20, 0, 42, 22, -5, -8,
- -8, -2, 11, 54, 2, 13, 21, -24,
- -4, -3, -3, -8, 16, 23, 8, -22,
- 26, -1, -2, 77, -21, -3, 7, 20,
- 1, -1, -7, -65, -19, -33, -28, -25,
- -15, -48, -71, -62, -61, -63, -37, -66,
- ],
- [
- 1, 14, 13, 14, 36, 32, 16, 11,
- 5, 15, -5, 4, 13, 35, 1, 27,
- 30, 34, -10, -3, 18, 2, -2, 0,
- 18, 1, 12, -12, -14, 11, 16, 18,
- -29, -24, -17, 11, 36, 13, -10, -5,
- 33, 7, -7, -11, 13, -7, 5, 10,
- 11, 15, 2, -25, -18, -57, -39, -17,
- 0, -25, -15, -39, -53, -38, -44, -28,
- ],
- [
- -16, 15, 22, 40, 10, 41, 32, 11,
- -3, -32, 36, 19, -0, 8, 10, 37,
- 6, -16, 18, -26, 17, 15, 8, 24,
- 28, 19, 17, -8, -25, -1, 21, -13,
- 12, -13, -1, -21, -19, -21, -4, -21,
- -4, 16, -8, -2, 13, 57, 17, 10,
- -22, 20, -20, -23, -8, 10, 24, -26,
- 12, -16, -23, -33, -50, -56, -49, -70,
- ],
- [
- -24, -4, 27, 12, 36, 15, 20, 32,
- 10, -7, -9, 48, 2, 4, 10, 16,
- 8, -5, 17, 29, 31, -22, -7, -10,
- 16, -5, 7, 11, -10, -27, 10, -0,
- -6, 2, -19, -6, -15, 12, 60, -11,
- 4, 43, 30, 3, -13, -37, -13, -24,
- -10, 5, 25, -4, -8, -18, -74, -23,
- -13, 16, -7, -33, -30, -4, -27, -32,
- ],
- [
- -1, 5, -2, 20, 6, -10, 45, 22,
- 7, 21, 3, 32, -4, -5, 4, 27,
- 13, -4, 24, 20, -14, -5, 12, 6,
- -3, -9, -24, 14, -13, -62, 9, -17,
- 5, 5, -7, -14, -10, -4, -21, 19,
- -24, 8, -19, 6, 12, 4, -7, 31,
- -10, 2, -0, 22, -36, 10, -6, -68,
- -10, 16, 17, -0, 35, 27, -3, -97,
+ -13, -29, -23, -8, 23, 1, 17, 15,
+ -20, -14, -3, 24, 9, 13, 3, 0,
+ -3, -9, -9, 12, 11, 19, 3, -4,
+ ],
+ [
+ -2, 0, 20, 34, 17, 13, 31, 9,
+ -4, -10, 12, 8, -2, 1, -20, -3,
+ 2, 5, -59, -28, 6, 8, 3, -11,
+ 5, -1, -42, 6, -9, -1, 3, -5,
+ 14, -6, -33, 5, 11, -4, 17, 15,
+ -5, -14, -33, 1, 1, 33, -1, 8,
+ 14, -27, -30, -15, 11, -11, 16, 1,
+ 15, 4, -24, 2, 16, 27, -6, 12,
+ ],
+ [
+ 7, 5, 16, -5, 25, -9, 34, 23,
+ -0, -15, 10, 65, 15, -1, 1, -6,
+ -9, 3, -0, -13, 2, 0, -10, -5,
+ 18, -5, -13, -35, -3, 14, 3, 16,
+ 8, 14, -6, -21, -17, 11, 12, 12,
+ -3, -1, -26, -27, -15, 4, -5, 19,
+ -14, -17, -15, -27, -17, -13, 20, 13,
+ 3, -4, -17, -10, -9, 14, 2, 5,
+ ],
+ [
+ 19, 2, -4, 17, 27, 32, 34, 7,
+ -6, -8, -6, 1, -2, -31, -8, -10,
+ 7, -1, -5, 4, -81, -25, -6, 10,
+ 28, 20, 18, -5, 2, -16, -5, 24,
+ 20, 32, 30, 4, -26, -4, -3, 24,
+ 8, 0, -11, -14, -17, -9, 4, 9,
+ 6, -10, -10, -32, -22, -18, -7, 6,
+ 13, 4, 5, -8, -7, 3, -5, 6,
+ ],
+ [
+ 0, 16, 14, 16, 23, 22, 35, 12,
+ 4, -4, -2, -15, -10, -13, -16, 2,
+ 14, 2, -4, -14, -3, 46, -28, -18,
+ 11, 8, 9, 0, -7, -39, -8, 6,
+ 21, 21, 19, 7, -10, -13, -5, -8,
+ 0, 16, 4, 11, -4, -20, -31, -9,
+ 2, -4, 8, 1, -1, -29, -19, -6,
+ 11, 8, 9, 4, -5, -8, -12, -15,
+ ],
+ [
+ -14, 10, 14, 10, 4, 28, 21, -19,
+ -5, -1, -3, -6, 10, -5, -3, -45,
+ 5, 5, 6, 0, -11, -14, -25, -19,
+ 18, 19, 15, 1, -3, -17, -37, -6,
+ 23, 25, 28, 13, 7, -16, -4, -17,
+ 12, 12, 18, 12, -10, -7, -19, -39,
+ 12, 16, 24, 12, 5, -5, -25, -17,
+ 13, 14, 14, 10, 2, 1, -18, -28,
+ ],
+ [
+ -2, 23, 27, 32, 14, 21, 20, -9,
+ 4, 7, 6, -13, -1, -23, -8, 1,
+ 4, 8, 8, -2, -16, -32, -44, -23,
+ 21, 10, 20, 15, 7, -11, -12, -51,
+ 7, 19, 28, 16, -2, -3, -4, -29,
+ 3, 5, 10, 17, 3, -10, -3, -40,
+ 12, 5, 13, 10, 9, -9, -5, -26,
+ 3, -0, 16, 5, 10, 2, -13, -50,
+ ],
+ [
+ 34, 2, -6, 17, 23, 54, 16, -12,
+ -5, 8, -15, -7, -7, 21, 26, 6,
+ -27, 6, -15, 8, -7, 31, 1, 26,
+ 34, -15, -26, -27, -0, 30, -14, 11,
+ -20, -14, -54, -15, 7, -7, -17, 32,
+ 5, -18, 8, -9, -47, -23, 3, 8,
+ -37, 7, -4, 4, -35, -2, -19, -2,
+ -36, -7, -16, 25, 31, 29, 5, 50,
+ ],
+ [
+ 13, 12, 9, 18, 49, 17, 5, -0,
+ 5, -20, 1, 8, 19, 16, 35, 20,
+ 15, -15, -17, 12, 38, 27, 39, 4,
+ 1, -19, 10, -2, 16, 3, -8, -16,
+ 26, -22, 18, -0, 21, 18, -11, 19,
+ -19, 18, 38, -25, -22, -23, 4, 29,
+ -28, -40, -20, -24, -34, -4, 39, 2,
+ -64, -61, -29, -29, -30, -25, -24, 10,
+ ],
+ [
+ 31, 17, 41, 32, 11, 26, 28, 1,
+ 0, -14, 48, 33, 6, 0, 16, 29,
+ 17, -41, 9, -2, 14, -15, -14, 19,
+ -7, 10, 49, 3, 20, -2, 39, 19,
+ -10, -14, -22, -19, 5, 16, -20, -0,
+ 16, -20, -13, -2, 0, -4, 27, -4,
+ 25, -8, -70, -2, 3, -0, 22, -13,
+ -46, -95, -79, -38, -14, 3, -14, -34,
+ ],
+ [
+ 27, 11, -4, 59, 27, 33, 34, 35,
+ 14, 7, 7, 27, 24, 24, 15, 4,
+ -6, 14, 20, -1, 42, 22, -3, -9,
+ -8, -2, 11, 54, 1, 13, 21, -26,
+ -5, -3, -3, -8, 16, 23, 7, -23,
+ 25, 1, -2, 78, -21, -3, 6, 19,
+ 1, -1, -5, -66, -18, -33, -26, -24,
+ -16, -49, -69, -59, -61, -64, -38, -67,
+ ],
+ [
+ -1, 14, 11, 14, 36, 33, 15, 8,
+ 4, 17, -3, 4, 14, 36, 1, 27,
+ 31, 36, -10, -4, 19, 2, -2, -1,
+ 18, 1, 12, -13, -13, 10, 15, 16,
+ -30, -24, -17, 11, 36, 13, -10, -6,
+ 32, 9, -7, -12, 14, -7, 4, 9,
+ 11, 15, 2, -26, -14, -57, -39, -17,
+ 1, -25, -18, -37, -45, -38, -45, -28,
+ ],
+ [
+ -16, 14, 22, 38, 10, 41, 32, 11,
+ -2, -29, 37, 20, 0, 10, 11, 37,
+ 6, -16, 20, -27, 16, 16, 7, 23,
+ 27, 19, 17, -9, -24, -1, 21, -13,
+ 12, -13, -1, -18, -19, -25, -2, -22,
+ -3, 16, -8, -1, 14, 56, 18, 9,
+ -21, 20, -21, -24, -8, 10, 24, -26,
+ 9, -17, -23, -32, -48, -54, -50, -71,
+ ],
+ [
+ -23, -4, 28, 11, 36, 14, 20, 32,
+ 9, -6, -10, 48, 2, 4, 11, 15,
+ 8, -6, 17, 29, 32, -23, -6, -10,
+ 16, -4, 7, 12, -10, -29, 10, -1,
+ -6, 0, -19, -6, -17, 14, 59, -11,
+ 5, 44, 30, 4, -14, -39, -14, -25,
+ -11, 7, 25, -4, -8, -18, -75, -24,
+ -16, 17, -8, -32, -29, -4, -27, -30,
+ ],
+ [
+ -1, 5, -1, 21, 7, -11, 44, 23,
+ 8, 22, 4, 33, -3, -5, 5, 27,
+ 13, -3, 25, 20, -15, -5, 12, 6,
+ -2, -9, -24, 14, -12, -62, 9, -19,
+ 4, 5, -8, -16, -9, -5, -19, 19,
+ -26, 7, -20, 6, 12, 3, -7, 31,
+ -10, 1, -1, 21, -36, 11, -8, -68,
+ -10, 16, 17, 1, 36, 28, -2, -98,
],
];
internal static readonly short[][] MiddleGameEnemyQueenTable =
[
[
- -56, -60, 80, 47, -25, -77, -97, -6,
- -4, -46, 39, 32, 39, 1, -23, -28,
- 66, 110, 118, -11, -5, 20, -48, -19,
- 50, 23, -37, 36, -51, -56, -11, 7,
- 11, 22, 12, -21, 44, -21, -24, -45,
- 36, -12, 28, 27, -12, -13, 1, -50,
- -27, 35, 18, -9, 1, 18, 15, -7,
- -7, -38, -24, 1, 16, 28, 23, -34,
- ],
- [
- -152, -146, -130, 72, 42, 18, 45, -1,
- -20, -123, -1, 6, -51, -17, -49, -58,
- 13, 54, 54, 48, -20, -47, -12, 5,
- 0, 56, 14, 1, -31, -22, -9, -5,
- 0, 20, 17, 14, 17, 6, -16, -1,
- 9, 25, 19, 15, 16, 15, 18, 3,
- 30, 34, 37, 18, 25, 37, 24, -7,
- 5, 7, 14, 22, 22, 31, -9, 1,
- ],
- [
- 166, -117, -174, -170, -60, 61, -1, -85,
- 55, -117, -97, -117, -23, -10, -29, -26,
- 52, 66, 123, -8, 99, -18, 1, -23,
- 13, 12, 47, -14, -28, -28, -35, 14,
- 31, 30, 5, 24, 15, 15, -9, -15,
- 12, 25, 27, 19, 12, 12, 15, 2,
- 44, 28, 30, 11, 27, 29, 13, -19,
- 11, -8, 17, 19, 24, 29, 1, -3,
- ],
- [
- 22, 86, -129, -105, -75, 113, 5, 48,
- 30, 3, -97, -109, -122, 8, 43, -48,
- 30, 21, 27, 154, 18, 121, -16, 14,
- -5, -8, 29, 15, -33, 16, -27, 5,
- 10, -46, 25, -2, 32, 7, 26, -34,
- 17, 37, -29, 4, -16, 5, -22, -7,
- 6, -18, 3, 1, 1, 9, -17, -9,
- 10, 12, -26, 9, -2, 6, -16, -14,
- ],
- [
- -6, 44, 69, -174, -174, -174, 75, 28,
- -4, -6, 8, -135, -174, -202, 20, 11,
- 5, 13, 35, 3, 68, 3, 106, 17,
- 5, 11, 4, -13, 21, -8, 12, 22,
- 12, -9, -6, 13, 29, 15, 2, 1,
+ -57, -60, 80, 47, -24, -77, -97, -5,
+ -4, -46, 40, 34, 40, 1, -23, -28,
+ 66, 110, 117, -11, -5, 21, -48, -18,
+ 50, 23, -37, 38, -50, -55, -11, 7,
+ 11, 23, 12, -20, 45, -21, -24, -45,
+ 35, -12, 28, 27, -12, -15, 2, -49,
+ -28, 33, 17, -11, 1, 18, 14, -7,
+ -7, -39, -26, 1, 16, 28, 22, -33,
+ ],
+ [
+ -151, -145, -129, 73, 42, 17, 44, -2,
+ -19, -123, -1, 6, -52, -17, -49, -58,
+ 12, 54, 54, 47, -20, -47, -13, 5,
+ 0, 56, 14, 2, -30, -22, -8, -5,
+ 0, 21, 18, 15, 17, 6, -16, -2,
+ 9, 25, 19, 15, 17, 16, 18, 3,
+ 29, 34, 37, 17, 25, 37, 24, -7,
+ 5, 7, 13, 22, 21, 31, -10, 1,
+ ],
+ [
+ 166, -118, -175, -171, -61, 60, -1, -84,
+ 55, -117, -98, -116, -24, -10, -28, -26,
+ 50, 66, 124, -7, 100, -17, 1, -23,
+ 13, 13, 47, -13, -27, -27, -34, 14,
+ 31, 30, 6, 24, 16, 15, -9, -16,
+ 12, 25, 27, 20, 13, 12, 16, 2,
+ 44, 27, 30, 10, 27, 29, 13, -20,
+ 11, -9, 16, 19, 23, 29, -0, -3,
+ ],
+ [
+ 21, 85, -129, -105, -75, 114, 5, 48,
+ 30, 3, -97, -109, -122, 8, 44, -49,
+ 30, 22, 27, 155, 17, 120, -16, 12,
+ -5, -7, 29, 15, -33, 18, -26, 5,
+ 12, -45, 24, -2, 33, 7, 26, -35,
+ 16, 39, -29, 4, -16, 7, -21, -7,
+ 5, -19, 2, -0, 1, 9, -17, -9,
+ 10, 12, -26, 10, -2, 5, -17, -15,
+ ],
+ [
+ -6, 45, 70, -173, -173, -173, 75, 28,
+ -5, -5, 8, -134, -173, -202, 22, 10,
+ 4, 13, 36, 3, 69, 4, 104, 17,
+ 5, 11, 4, -12, 22, -7, 12, 23,
+ 11, -8, -5, 14, 30, 15, 2, 0,
6, 22, 4, 27, 22, 16, 26, 17,
- -3, 8, 26, 31, 41, 34, -3, 27,
- -19, 16, 18, 31, 40, 27, 9, 8,
- ],
- [
- 80, -28, 18, 19, -145, -152, -130, 106,
- -16, -1, 28, -18, -107, -99, -135, 73,
- -19, -47, 0, 63, 29, 125, 83, 105,
- -1, -3, -21, 17, 14, 21, 53, 26,
- -11, 23, -26, 40, 0, -17, 15, 29,
- -24, -9, -1, 13, 2, 21, 28, 48,
- -41, -2, 9, 11, 8, 19, 25, -29,
- -19, -11, -1, 16, 1, -25, -30, 0,
- ],
- [
- -123, -25, -38, -15, 30, -164, -214, -122,
- -39, -28, -47, -43, -54, 72, -146, 56,
- -13, -12, -8, -9, 52, 47, 49, 40,
- -16, -0, -6, 3, 0, 9, 27, 10,
- 1, 7, 4, 24, 12, 25, 27, 24,
- 3, 18, 17, 17, 21, 22, 37, 38,
- 8, 9, 25, 31, 28, 30, 45, 70,
- 12, 14, 23, 34, 30, 32, 4, 37,
- ],
- [
- -92, -2, -26, 24, 54, 78, -153, -153,
- -55, -16, -45, -22, -2, -6, -120, 52,
- -34, -0, -8, -3, 2, 79, 58, 36,
- -33, -19, 8, -1, -1, 21, 1, 31,
- -9, -18, -5, 22, 14, 34, 22, 31,
- -3, -3, 4, 9, 13, 9, 30, 43,
- -11, -11, 6, 13, 14, 16, 35, 56,
- -9, -8, 6, 17, 17, 0, -5, 19,
- ],
- [
- 44, -19, 73, 92, 72, -21, -35, -113,
- 49, 5, 75, -49, 13, 26, 12, -42,
- -106, -113, -11, 51, -23, -65, 5, -67,
- 21, -6, 29, 28, -7, -9, -64, -22,
- -7, 106, 17, -35, 16, -27, -2, -37,
- 59, 32, -2, 11, -10, -36, -7, -60,
- 83, -62, 41, 3, 6, 4, 15, -40,
- 7, 43, 10, 5, 33, 13, 3, -8,
- ],
- [
- 47, 34, 64, 118, -48, -1, 1, -24,
- 67, 145, -51, -19, 37, 31, 15, -60,
- 102, -107, -112, -110, -19, -49, -10, -54,
- 102, -46, 15, -1, 74, -33, -57, -28,
- 15, 114, -11, 62, 3, 28, -55, -27,
- -10, 1, 21, 30, -23, -10, -3, -47,
- -2, 19, -28, -7, -11, 12, 3, -52,
- 37, -20, -9, 1, 8, 5, -21, -45,
- ],
- [
- -6, -0, 29, 27, 143, 37, 49, 14,
- -13, 1, 37, -60, 52, -28, -17, -19,
- 17, 77, -106, -151, -112, -4, 21, -7,
- 12, 16, 14, 83, -56, 27, 42, -31,
- -9, 29, 40, 33, 7, -58, -3, -17,
- 14, -10, 7, 25, -5, -7, -33, -22,
- -35, -10, 8, -15, 28, -2, -34, -107,
- 43, 13, 19, 18, -6, -4, 32, -23,
- ],
- [
- -73, -27, 158, 92, -12, 119, 94, 23,
- 24, -31, 14, 47, 5, 82, 57, -9,
- 18, 29, 15, -168, -148, -145, 55, 60,
- 30, -27, 37, -16, 95, -48, 67, -14,
- -73, 47, -24, 31, 29, 6, -44, 10,
- 11, -29, -20, 1, -21, 1, 6, 6,
- 4, -66, -15, 5, 20, 25, -17, -30,
- -0, -53, -28, -15, -60, -92, -1, -19,
- ],
- [
- -41, -11, 13, -16, 134, 142, 125, 96,
- -20, 27, 6, 18, 74, 108, 105, 37,
- -23, -49, 12, 13, -143, -155, -140, 93,
- -47, -26, -36, 44, -16, 39, 45, 76,
- -48, -48, -9, 24, 16, 15, 10, -31,
- -47, -7, -16, -10, 7, -6, -9, -36,
- 16, -31, -6, -3, -1, -17, -0, -8,
- -59, -38, -35, 14, -29, -38, -36, -15,
- ],
- [
- -43, -44, -79, -14, -49, 121, 121, 130,
- -5, -26, -45, -11, 22, 146, 73, 255,
- -33, -25, -37, -17, 12, -9, -122, -167,
- -14, -17, -19, -1, 80, 54, -13, 24,
- -27, -26, -42, 29, -3, -7, 46, 12,
- -25, -24, -0, -10, -0, 3, 28, 17,
- -50, -1, -8, 6, -1, 8, -16, -12,
- -1, -14, -3, 7, 4, -32, -33, -74,
- ],
- [
- -97, -99, -82, -47, 14, -12, 93, 30,
- -39, -52, -24, -10, 12, 25, 125, 49,
- -41, -20, -37, -28, 15, 104, -5, -74,
- -51, 15, -2, -8, -4, 127, 50, 5,
- -22, -4, -11, 3, 21, -0, 9, 21,
- -22, -4, -8, 11, 3, 15, -5, 38,
- -16, -22, 4, 10, 15, 10, 42, 22,
- -41, -4, -6, 24, -10, 10, -18, 3,
- ],
- [
- -17, -14, 34, -17, -50, -97, 8, -72,
- 5, -33, 71, 25, 57, -65, 37, -16,
- -30, 27, 126, 71, 22, -73, -13, -40,
- 7, -17, 103, 54, 104, -5, -9, -80,
- 65, -18, 163, 14, -79, -37, 42, -35,
- -42, -0, 48, -19, 28, 93, 65, -37,
- 51, -8, -12, -78, -97, -94, -67, -18,
- -38, 98, 11, -30, -48, -35, 22, -7,
- ],
- [
- -1, 68, 15, 45, -54, -86, -11, -90,
- 80, -40, -36, 8, 47, -22, -7, -17,
- 48, 25, -2, 6, 47, 15, -104, -13,
- 18, -17, -3, -13, 36, -1, -40, 46,
- 60, 29, -31, -14, 14, 33, 12, 32,
- 25, -19, 28, -44, 36, 20, 21, -7,
- -21, -2, 27, 35, 67, -20, -6, -2,
- -19, -9, -20, -38, -27, -64, -50, 6,
- ],
- [
- -63, -10, 50, 56, -36, -43, -64, -68,
- -4, 18, 34, 82, 16, -25, 1, -33,
- 68, -41, 38, 60, 29, 2, -2, 16,
- -15, -4, -8, -33, 13, 20, 0, -32,
- 4, -8, 6, -48, 46, 33, 32, 40,
- -31, -9, -5, -15, 31, 12, -25, -67,
- -10, 31, 13, -5, -2, -41, -21, -12,
- 66, -3, 2, -36, -27, -20, 27, 20,
- ],
- [
- 8, 11, -53, 6, -33, -31, -52, -43,
- -57, 15, -0, 6, 8, 36, 13, 59,
- 37, -13, 11, 52, 3, 5, 68, -24,
- -22, 25, 37, 7, 10, -3, -40, -11,
- -15, 21, -4, -3, -21, 15, -8, -39,
- -45, 54, -44, -6, -29, 44, 4, 63,
- -30, 16, 58, 25, 1, -28, 15, 2,
- -37, -32, 23, 1, 10, -17, 16, -44,
- ],
- [
- -13, -49, 1, 25, 20, 14, 31, -31,
- -18, -29, 4, 7, 46, 46, 83, 18,
- -43, -32, -26, 5, 32, -11, -56, 21,
- -53, -46, -39, 26, 47, -4, 13, 28,
- -7, 9, 10, -6, 18, -47, 48, 18,
- 20, -43, 25, -3, -21, 15, 51, 55,
- 6, -20, 17, -22, -7, -80, 29, -2,
- -38, -49, 7, 15, 11, -6, 2, -20,
- ],
- [
- -51, -77, 17, 9, 64, -18, -25, -58,
- -49, -9, -17, 45, 64, 26, 15, 47,
- -29, 19, -14, -13, 33, -32, 85, 32,
- 9, 52, 11, 44, -31, -6, -29, 21,
- -13, 8, -36, 11, -20, -3, -9, -34,
- -18, 2, 75, 3, -54, -5, -19, 57,
- -0, 13, -26, 26, 29, 10, 14, 35,
- -25, -58, 6, 6, -18, -3, -51, -39,
- ],
- [
- -64, -60, -57, -19, -11, 12, 53, 13,
- -49, 18, 1, 52, -21, 5, -27, 72,
- -44, -24, -3, 16, -14, 50, 26, 101,
- 18, 11, 11, -34, 19, -36, -15, 24,
- 1, -52, 18, -11, 18, -30, 13, 8,
- 9, -4, -0, 25, 36, -52, -10, -28,
- -2, -23, 70, -7, 9, 39, -7, -44,
- -1, 17, -14, 52, -3, -24, -22, -6,
- ],
- [
- -20, -62, -47, 28, -3, -66, -24, -38,
- -2, 13, 11, -43, -51, 24, -4, 16,
- 12, 14, -0, -38, -23, 76, -32, -12,
- -34, 15, -25, -19, 53, 49, -8, 27,
- 6, -12, -8, -55, -6, 19, 5, 10,
- -29, -21, -63, 44, 24, 56, -8, -6,
- -37, 50, -28, 54, 13, 47, 12, -7,
- 9, -8, 32, 27, 47, 14, 18, 13,
+ -4, 7, 26, 29, 41, 33, -3, 26,
+ -19, 15, 17, 31, 39, 26, 8, 7,
+ ],
+ [
+ 80, -27, 17, 21, -145, -152, -130, 104,
+ -17, -3, 29, -16, -106, -100, -135, 73,
+ -20, -48, -2, 63, 28, 124, 84, 104,
+ -2, -2, -22, 17, 14, 20, 52, 25,
+ -11, 22, -25, 40, 1, -18, 15, 30,
+ -24, -9, -0, 13, 3, 22, 29, 48,
+ -41, -1, 9, 10, 9, 19, 26, -28,
+ -18, -11, -2, 17, 1, -25, -31, 3,
+ ],
+ [
+ -123, -27, -39, -16, 29, -164, -214, -123,
+ -39, -27, -47, -43, -54, 72, -146, 54,
+ -14, -11, -8, -9, 52, 47, 49, 40,
+ -16, 1, -7, 5, 1, 10, 27, 11,
+ 1, 8, 5, 24, 12, 26, 27, 24,
+ 3, 18, 17, 17, 22, 22, 37, 38,
+ 8, 9, 25, 30, 28, 30, 45, 70,
+ 12, 14, 22, 34, 30, 32, 3, 37,
+ ],
+ [
+ -91, -2, -24, 24, 56, 79, -153, -153,
+ -55, -15, -46, -22, -3, -7, -121, 55,
+ -35, 1, -8, -3, 2, 82, 59, 36,
+ -34, -19, 8, -0, -0, 21, 1, 31,
+ -9, -18, -4, 22, 15, 34, 22, 30,
+ -4, -3, 4, 10, 14, 9, 30, 42,
+ -12, -12, 5, 12, 13, 16, 34, 55,
+ -10, -9, 5, 17, 16, 0, -5, 19,
+ ],
+ [
+ 43, -18, 74, 92, 70, -19, -33, -113,
+ 51, 5, 75, -49, 12, 28, 14, -43,
+ -105, -112, -13, 51, -23, -63, 5, -68,
+ 21, -4, 29, 29, -6, -7, -63, -21,
+ -7, 106, 18, -35, 16, -26, -2, -38,
+ 57, 33, -1, 11, -9, -36, -6, -61,
+ 82, -62, 40, 2, 6, 4, 15, -41,
+ 7, 43, 8, 5, 31, 13, 0, -10,
+ ],
+ [
+ 46, 33, 63, 119, -50, 2, 1, -21,
+ 67, 146, -52, -18, 35, 30, 15, -61,
+ 102, -107, -111, -109, -19, -48, -11, -55,
+ 104, -47, 18, -3, 74, -33, -56, -28,
+ 16, 112, -10, 63, 2, 27, -53, -27,
+ -13, 1, 20, 31, -23, -10, -1, -48,
+ -1, 19, -30, -9, -11, 14, 3, -53,
+ 39, -20, -11, 1, 9, 4, -21, -46,
+ ],
+ [
+ -7, -2, 31, 27, 145, 34, 49, 12,
+ -16, -2, 37, -62, 53, -29, -17, -18,
+ 15, 76, -106, -151, -112, -2, 21, -7,
+ 13, 17, 13, 86, -56, 28, 42, -31,
+ -9, 28, 41, 33, 7, -55, -4, -17,
+ 13, -10, 8, 26, -4, -6, -31, -21,
+ -37, -11, 9, -15, 28, 1, -33, -107,
+ 41, 10, 17, 20, -7, -6, 31, -24,
+ ],
+ [
+ -73, -26, 157, 93, -12, 117, 94, 25,
+ 24, -35, 13, 47, 3, 80, 56, -9,
+ 20, 28, 15, -170, -148, -144, 55, 59,
+ 30, -27, 36, -15, 97, -49, 68, -14,
+ -70, 47, -22, 32, 28, 6, -42, 9,
+ 10, -27, -19, 2, -20, 1, 9, 7,
+ 4, -64, -15, 5, 21, 25, -19, -31,
+ -2, -52, -28, -12, -60, -93, -3, -20,
+ ],
+ [
+ -42, -11, 14, -16, 133, 141, 125, 98,
+ -21, 27, 6, 18, 73, 107, 103, 36,
+ -24, -50, 14, 16, -142, -155, -140, 94,
+ -47, -25, -36, 46, -16, 41, 45, 76,
+ -48, -48, -9, 25, 17, 15, 10, -31,
+ -48, -7, -15, -10, 8, -6, -9, -37,
+ 16, -31, -6, -4, -1, -16, -0, -9,
+ -59, -38, -37, 15, -29, -38, -39, -18,
+ ],
+ [
+ -42, -43, -78, -14, -49, 121, 120, 129,
+ -5, -25, -45, -11, 23, 146, 73, 255,
+ -32, -24, -37, -16, 12, -9, -123, -166,
+ -13, -16, -19, 0, 81, 54, -13, 23,
+ -27, -26, -42, 30, -3, -7, 46, 11,
+ -25, -24, 0, -10, 1, 3, 29, 17,
+ -51, -1, -9, 5, -2, 7, -16, -13,
+ -1, -15, -3, 7, 4, -32, -35, -74,
+ ],
+ [
+ -97, -100, -81, -47, 14, -12, 94, 31,
+ -40, -52, -24, -11, 12, 24, 127, 50,
+ -41, -20, -37, -28, 15, 104, -3, -73,
+ -51, 15, -3, -7, -3, 127, 51, 6,
+ -22, -5, -11, 3, 21, -0, 9, 20,
+ -22, -4, -8, 11, 4, 15, -5, 38,
+ -16, -23, 4, 9, 14, 10, 41, 21,
+ -41, -5, -7, 24, -10, 10, -17, 2,
+ ],
+ [
+ -15, -18, 35, -13, -51, -94, 8, -72,
+ 4, -34, 68, 23, 54, -63, 36, -15,
+ -30, 27, 126, 68, 21, -72, -11, -41,
+ 6, -17, 106, 58, 104, -6, -12, -77,
+ 67, -15, 164, 13, -78, -36, 43, -33,
+ -42, -2, 49, -20, 25, 92, 69, -38,
+ 50, -9, -17, -84, -101, -92, -69, -19,
+ -40, 102, 16, -33, -49, -34, 24, -8,
+ ],
+ [
+ 0, 69, 16, 46, -54, -85, -14, -91,
+ 81, -43, -35, 9, 46, -20, -7, -15,
+ 47, 26, 1, 4, 43, 8, -102, -16,
+ 16, -16, -0, -15, 37, -4, -37, 43,
+ 61, 32, -31, -13, 14, 31, 12, 29,
+ 29, -19, 30, -43, 38, 19, 20, -9,
+ -19, 2, 33, 33, 66, -19, -6, -5,
+ -20, -8, -21, -37, -25, -66, -50, 7,
+ ],
+ [
+ -63, -9, 50, 52, -35, -43, -65, -71,
+ -4, 25, 33, 85, 19, -27, 2, -33,
+ 66, -46, 36, 58, 29, -2, -1, 15,
+ -17, -2, -7, -38, 12, 19, 0, -34,
+ 3, -9, 7, -48, 42, 35, 30, 40,
+ -30, -7, -5, -14, 32, 12, -27, -66,
+ -7, 31, 13, -1, 1, -43, -18, -11,
+ 70, -1, 2, -35, -29, -21, 31, 20,
+ ],
+ [
+ 3, 10, -51, 6, -40, -31, -53, -45,
+ -59, 16, 2, 8, 4, 38, 12, 59,
+ 42, -11, 13, 53, 5, 2, 66, -27,
+ -24, 22, 37, 7, 9, -4, -45, -8,
+ -15, 23, -4, -3, -19, 14, -9, -35,
+ -45, 55, -46, -7, -28, 41, 4, 62,
+ -33, 19, 60, 28, 4, -28, 14, 5,
+ -38, -30, 25, 2, 12, -17, 16, -44,
+ ],
+ [
+ -14, -48, 1, 23, 19, 14, 32, -34,
+ -13, -28, 7, 5, 44, 40, 80, 17,
+ -44, -34, -24, 6, 33, -10, -56, 20,
+ -55, -50, -37, 28, 46, -6, 14, 29,
+ -11, 8, 9, -5, 17, -45, 50, 22,
+ 20, -46, 26, -3, -20, 15, 54, 58,
+ 7, -18, 16, -19, -3, -81, 27, -4,
+ -38, -50, 8, 15, 10, -6, 2, -19,
+ ],
+ [
+ -49, -78, 18, 10, 63, -20, -25, -59,
+ -49, -7, -16, 42, 62, 26, 17, 45,
+ -30, 20, -14, -13, 29, -31, 87, 30,
+ 9, 53, 9, 43, -30, -7, -29, 24,
+ -13, 8, -40, 11, -21, -8, -6, -35,
+ -15, 5, 75, -1, -53, -4, -19, 56,
+ 1, 15, -26, 28, 30, 9, 13, 37,
+ -28, -58, 5, 11, -18, -0, -50, -40,
+ ],
+ [
+ -64, -62, -58, -19, -12, 12, 57, 12,
+ -49, 17, 0, 51, -20, 7, -23, 74,
+ -45, -25, -4, 19, -14, 49, 27, 104,
+ 18, 16, 11, -34, 17, -37, -15, 25,
+ -1, -53, 19, -11, 19, -29, 14, 9,
+ 10, -2, -2, 23, 34, -52, -10, -24,
+ -1, -26, 66, -10, 7, 38, -4, -45,
+ -2, 15, -16, 54, -3, -23, -22, -7,
+ ],
+ [
+ -21, -62, -48, 29, -6, -64, -20, -39,
+ -4, 12, 16, -40, -54, 23, -7, 18,
+ 12, 13, 2, -39, -23, 71, -33, -14,
+ -34, 14, -21, -20, 52, 46, -8, 27,
+ 6, -8, -9, -56, -7, 20, 5, 11,
+ -30, -16, -62, 42, 24, 56, -8, -6,
+ -38, 48, -31, 55, 15, 46, 12, -6,
+ 9, -8, 36, 24, 52, 13, 19, 13,
],
];
internal static readonly short[][] EndGameEnemyQueenTable =
[
[
- -121, -125, -39, 56, 60, 73, 130, 45,
- -106, -110, -11, 34, 18, 34, 46, 25,
- -55, 4, -19, 60, 44, 7, 49, 9,
- -9, 22, 100, 26, 54, 102, 7, 10,
- 20, -25, 0, 70, 3, 36, 8, 11,
- -68, 23, -33, -18, 42, 28, -5, 55,
- 22, -70, -45, 1, -10, -21, -87, -50,
- -17, 25, -83, -22, -16, -65, -58, -71,
- ],
- [
- -223, -221, -204, 30, 48, 10, 14, 52,
- -181, -208, -132, 44, 113, 50, 87, 99,
- 19, 12, 18, 56, 89, 91, 55, 0,
- 65, 11, 33, 48, 58, 57, 24, 1,
- 49, -9, 13, 6, 55, 42, 32, 16,
- 38, 10, 6, 39, -8, 27, -21, -10,
- -39, -38, -34, -24, 18, -34, -33, 9,
- 80, -36, -44, -11, -7, -42, -26, -36,
- ],
- [
- -175, -216, -240, -239, 4, 21, 89, 183,
- 54, -238, -213, -241, 56, 27, 33, 4,
- 57, 35, 58, 63, 23, 45, 19, 82,
- 26, 60, 20, 124, 63, 154, 74, -19,
- -19, 25, 61, 40, 42, 20, 64, 24,
- 5, -6, 12, 13, 41, 23, -17, 19,
- -45, -43, -9, 1, -5, 6, -6, 13,
- -18, 9, -5, -16, -21, -6, 12, -6,
- ],
- [
- 66, 1, -104, -92, -69, 110, 79, 77,
- -16, 15, -88, -93, -98, 22, -25, 65,
- -12, 108, -11, -58, 58, 92, 36, -1,
- 29, 14, -12, 43, 40, -29, 32, 41,
- -3, 92, -11, -20, 34, -38, -87, 70,
- 2, -25, 27, 22, 39, -44, 73, -42,
- -37, -6, 8, 38, 7, -63, 10, -2,
- -48, -48, 35, -5, -58, -53, -81, -3,
- ],
- [
- 95, 147, -51, -208, -208, -208, 85, 102,
- 34, 32, 33, -191, -209, -214, 43, 25,
- 25, 9, 68, 60, 47, 38, 27, 58,
- -8, 49, 23, 28, 112, 41, 34, 58,
- 36, 60, 59, 17, 2, 33, 3, 23,
- 38, 36, 5, -14, 7, -6, 29, 8,
- 15, 25, -51, -23, -41, -12, 33, -46,
- 22, -13, -29, -11, -76, -3, -67, -36,
- ],
- [
- 28, 67, 55, 41, -185, -192, -183, -0,
- -2, -13, 3, 74, -176, -161, -180, 5,
- 54, 46, 12, 49, 10, 10, -10, -17,
- 29, 10, 144, 39, 47, 59, 32, 8,
- -10, 40, 41, 17, 59, 41, 22, 12,
- 25, 26, 55, 42, 23, 8, -21, -28,
- -21, 7, 16, -3, 1, -36, -29, 146,
- -17, 1, 8, 6, -58, -13, -0, -63,
- ],
- [
- 237, 135, 140, 125, 54, -413, -442, -414,
- 61, 74, 103, 95, 114, -304, -405, -324,
- 55, 70, 82, 72, 100, 38, 52, 15,
- 57, 51, 54, 72, 56, 29, 42, 34,
- 26, 40, 49, 59, 56, 35, 13, 11,
- 17, 34, 36, 36, 51, 23, 15, -5,
- 20, 6, 3, 9, 11, -6, -33, -69,
- -31, -16, -3, 12, -5, -31, -21, -56,
- ],
- [
- 105, 29, 80, 73, 48, -47, -279, -279,
- 44, 21, 72, 76, 63, 94, -252, -234,
- 33, 3, 49, 58, 51, 141, 20, -13,
- 38, 60, 18, 40, 55, 26, 81, 12,
- -25, 53, 15, 44, 52, 13, -7, -18,
- -8, 15, 27, 26, 21, 25, -21, -48,
- 32, -9, -17, -12, 5, -4, -48, -127,
- -11, -25, -35, -18, -25, -18, -31, -110,
- ],
- [
- -5, -22, 7, -51, -12, 61, 46, 66,
- -23, -14, -18, 76, 16, 28, 28, 44,
- -150, -160, -67, -8, 24, 40, -10, 38,
- -27, 57, -29, 5, 20, 3, 62, 21,
- 5, -46, -44, 15, 27, 43, 53, 4,
- -54, -41, 2, -33, 32, 67, -26, 102,
- -60, 69, -48, -26, 22, 51, 26, 35,
- -62, -106, -38, -27, -57, 30, -38, 77,
- ],
- [
- 4, -22, -23, -1, 74, 16, 14, -5,
- -12, -39, -37, 53, 2, 23, 20, 62,
- -75, -152, -139, -141, -6, 15, 22, 22,
- -1, -6, 13, -49, -7, 10, 53, -3,
- 9, -99, 73, -72, 16, 43, 23, 5,
- 29, 20, -15, -12, 25, 23, 2, 58,
- -8, -23, 50, 20, 47, 23, -14, 50,
- -53, -29, 50, 22, -26, -10, 27, 60,
- ],
- [
- 43, 62, 10, 54, -40, 36, 21, 21,
- 43, 33, 40, -98, 29, 68, 80, 38,
- -23, -67, -140, -175, -157, -11, -3, 17,
- -9, 8, -47, -58, -8, 24, -20, 51,
- 20, -27, -63, 51, -56, 37, 56, 30,
- -13, 10, -6, 27, 11, 8, 53, 28,
- -3, 38, 2, 86, -6, 42, 7, 83,
- -54, -46, -109, 67, -61, -5, -86, 51,
- ],
- [
- 37, 34, -63, -1, 86, 19, -38, 10,
- 15, 62, 14, 29, 33, -10, 16, 42,
- -37, -14, -12, -209, -181, -178, 1, -26,
- -6, 19, -14, -61, -38, 9, 35, 4,
- 49, -5, -2, -47, 33, -34, 70, 58,
- -16, 46, 29, 4, 34, 11, -52, 24,
- -10, 33, 7, -1, 2, 20, 1, 25,
- -10, 50, 24, 18, 19, 75, -26, -5,
- ],
- [
- 35, 11, 8, 39, -61, 79, -13, -46,
- 32, 32, 31, 16, -56, 4, 11, 10,
- 3, 65, 6, -13, -199, -198, -197, -4,
- 52, 15, 22, 13, -37, -38, -54, 33,
- 48, 49, 31, 5, -49, 25, -39, 44,
- 30, 22, 48, 19, 3, -0, 30, 103,
- -27, 8, 7, 10, -7, 16, 9, -16,
- 10, 3, 31, 3, 4, 9, -11, -14,
- ],
- [
- 8, 12, 56, 11, 20, -22, 16, -15,
- 0, 53, 67, 54, 12, -16, 17, -117,
- 24, 43, 53, 6, 32, -134, -193, -245,
- 22, 29, 29, 3, -1, -85, 16, -43,
- 28, 45, 53, 33, 23, -25, -30, -16,
- 18, 35, 36, 35, 24, 7, -25, -18,
- 34, 13, 8, 2, 17, -8, 34, 4,
- -44, -14, -12, -3, -12, 7, -11, 48,
- ],
- [
- 54, 15, 59, 23, 15, 41, -10, 31,
- 19, 51, 54, 59, 46, 9, -37, -45,
- 19, 6, 54, 45, 21, -9, -84, -223,
- 21, -12, 23, 38, 35, 9, -52, 10,
- -9, 22, 23, 33, 41, 23, -31, -42,
- -18, 14, 24, 25, 13, 11, 4, -40,
- 8, -10, 12, -16, -29, -8, -51, -52,
- -21, -40, -8, -34, -3, -43, -29, -54,
- ],
- [
- -18, 9, 57, 28, 47, 30, -51, 20,
- -25, -20, 17, 36, 2, 72, -2, 17,
- -22, -76, -19, -30, 45, 7, 24, -2,
- -2, -23, -65, 11, -64, -2, -10, -31,
- 57, 1, -66, 14, 50, 36, 15, 28,
- 3, -39, 11, 10, -21, -40, 40, 5,
- 12, -93, 16, -9, 39, -22, 4, -40,
- -3, -19, 31, -1, 32, 13, 11, -39,
- ],
- [
- 3, 109, 11, 70, -38, 15, -12, -24,
- -11, 24, 2, 8, 37, 59, 45, -36,
- -18, 75, 19, -5, 52, 11, 15, -5,
- -62, -24, -0, -36, -12, -2, -14, 58,
- -19, 66, -24, -0, -13, 10, 45, 31,
- 39, -14, 59, -56, 2, 52, 37, -37,
- -35, 2, 1, -36, -16, -38, 1, -18,
- -44, 1, -72, -68, -3, -110, -80, 27,
- ],
- [
- 19, -25, 107, -20, 27, 71, 25, 26,
- -37, 29, 90, -16, 29, 17, 44, 22,
- 32, -21, 59, -27, 25, -12, -27, -2,
- 8, -44, 61, -16, -48, -10, -1, 14,
- -52, -31, 38, -49, 20, 30, 30, 42,
- -133, -40, 15, -9, -59, -33, 59, -6,
- -32, 33, 56, -62, -9, -39, -19, 17,
- 4, -72, 13, -73, -61, -41, 3, 60,
- ],
- [
- -14, 50, -4, 71, 33, -14, -4, 55,
- 0, -40, -59, 69, -17, 40, 32, 5,
- 58, -12, -2, 95, 5, -64, 57, -0,
- -13, 41, -59, 29, -72, 0, 3, -30,
- -27, -38, -5, 46, -38, -26, -25, 42,
- -22, -51, -36, 60, -28, -56, -33, 70,
- -64, -67, 63, 44, -0, -5, -35, 16,
- 15, -28, -12, 41, -14, -3, 27, -53,
- ],
- [
- -19, 34, 38, -49, 57, 2, -1, 31,
- -3, 17, 11, 50, 69, 28, 18, 11,
- -9, 37, 5, -2, 52, -4, 1, 32,
- -46, -45, -15, -7, 96, 30, -30, -40,
- 4, 9, 39, 21, 37, -59, 89, 17,
- -13, -41, -51, -5, -10, 17, -37, 25,
- -48, -53, 29, -26, 33, -74, -8, -20,
- -44, -106, -67, -37, 56, -7, -3, -12,
- ],
- [
- -9, 16, 19, 35, 92, 53, 33, -23,
- -68, -14, 18, 58, 27, 101, -14, 9,
- -26, 13, -8, 22, -10, 39, -38, 87,
- 40, 64, -6, -38, -22, 26, -20, -57,
- -24, -1, -7, -6, -39, 30, -8, 11,
- -29, 4, -6, -64, -83, 18, -20, 8,
- -14, 31, -90, 11, 23, 8, 15, 39,
- -57, -55, 12, 37, -78, 33, -37, -62,
- ],
- [
- -4, 11, -26, 38, 25, -11, 58, -5,
- -3, 96, -1, 93, 24, -3, 40, -15,
- 14, -54, 13, 45, 68, -44, 59, -15,
- -1, 7, 62, 0, -15, -55, -19, 39,
- -25, -84, 27, 30, -14, -39, 40, -3,
- 11, 51, 3, -25, -25, -76, -17, -16,
- 25, 38, -6, -56, -41, -29, -39, -98,
- 18, 35, -23, 22, 10, -35, -31, -46,
- ],
- [
- -13, -26, -12, 36, -5, -16, -22, -49,
- -53, 23, -9, -40, 24, 12, -16, 42,
- 34, 28, -13, -30, 17, 79, -14, -11,
- -27, 4, -9, 40, -21, -11, -24, 24,
- 11, 56, 37, -11, 1, 6, 7, 13,
- -24, 17, -39, -12, 29, 16, -12, -20,
- -12, 61, -4, 43, -5, 27, -17, -20,
- 8, -9, -16, -20, 39, -32, -74, 13,
+ -122, -125, -38, 55, 59, 72, 131, 45,
+ -106, -110, -12, 33, 17, 34, 47, 26,
+ -54, 3, -18, 60, 43, 7, 49, 8,
+ -9, 20, 99, 24, 52, 101, 7, 11,
+ 22, -28, 0, 69, 2, 35, 7, 10,
+ -68, 25, -33, -18, 43, 32, -5, 54,
+ 22, -69, -44, 3, -9, -20, -86, -49,
+ -16, 26, -80, -19, -15, -64, -58, -77,
+ ],
+ [
+ -224, -221, -204, 29, 50, 11, 14, 54,
+ -181, -209, -133, 44, 113, 51, 87, 100,
+ 20, 12, 18, 56, 89, 92, 56, 1,
+ 65, 12, 32, 47, 57, 57, 23, 1,
+ 49, -10, 13, 5, 55, 42, 31, 15,
+ 37, 10, 5, 40, -9, 26, -21, -11,
+ -40, -38, -34, -24, 18, -34, -34, 9,
+ 81, -35, -43, -11, -7, -41, -25, -35,
+ ],
+ [
+ -174, -216, -240, -239, 5, 21, 89, 183,
+ 54, -237, -213, -241, 57, 26, 33, 4,
+ 65, 34, 59, 62, 21, 43, 18, 82,
+ 27, 59, 20, 123, 62, 153, 73, -18,
+ -19, 26, 61, 40, 41, 20, 62, 24,
+ 4, -7, 11, 14, 39, 23, -18, 17,
+ -45, -43, -10, 1, -4, 6, -5, 14,
+ -17, 9, -5, -16, -20, -6, 12, -6,
+ ],
+ [
+ 67, 1, -105, -92, -70, 109, 78, 76,
+ -16, 15, -88, -94, -98, 22, -26, 66,
+ -13, 108, -11, -59, 57, 92, 35, 1,
+ 30, 13, -13, 44, 40, -30, 30, 44,
+ -5, 91, -9, -20, 33, -38, -88, 71,
+ 3, -27, 27, 22, 39, -46, 72, -44,
+ -37, -7, 9, 37, 6, -62, 12, -2,
+ -46, -46, 36, -5, -58, -52, -79, -1,
+ ],
+ [
+ 95, 145, -49, -210, -210, -210, 85, 103,
+ 33, 31, 31, -192, -210, -216, 40, 25,
+ 25, 9, 70, 60, 47, 39, 27, 59,
+ -8, 50, 23, 29, 113, 42, 35, 60,
+ 37, 59, 58, 15, 1, 32, 3, 24,
+ 38, 36, 6, -12, 6, -6, 28, 8,
+ 15, 26, -51, -22, -41, -10, 35, -47,
+ 22, -13, -28, -11, -75, -1, -68, -33,
+ ],
+ [
+ 29, 66, 55, 39, -185, -192, -183, 2,
+ -0, -12, 2, 72, -176, -162, -180, 5,
+ 55, 47, 13, 49, 11, 11, -10, -17,
+ 31, 9, 144, 40, 47, 59, 32, 9,
+ -9, 40, 40, 17, 58, 41, 21, 11,
+ 24, 25, 54, 42, 22, 8, -20, -28,
+ -21, 7, 15, -3, 1, -35, -29, 146,
+ -18, 1, 9, 6, -58, -13, 1, -66,
+ ],
+ [
+ 239, 137, 142, 127, 57, -417, -446, -417,
+ 62, 73, 104, 96, 115, -308, -409, -329,
+ 55, 71, 82, 72, 100, 40, 51, 17,
+ 58, 50, 54, 72, 56, 30, 42, 35,
+ 26, 40, 48, 59, 55, 35, 13, 11,
+ 16, 33, 35, 36, 51, 23, 15, -6,
+ 19, 7, 4, 10, 13, -6, -33, -69,
+ -30, -16, -2, 13, -5, -31, -21, -55,
+ ],
+ [
+ 104, 28, 79, 75, 48, -47, -281, -281,
+ 44, 20, 72, 76, 64, 94, -254, -236,
+ 34, 2, 50, 58, 51, 138, 20, -13,
+ 40, 61, 19, 41, 55, 27, 82, 12,
+ -24, 53, 14, 44, 52, 12, -7, -18,
+ -8, 14, 27, 26, 21, 26, -22, -48,
+ 32, -9, -16, -11, 7, -3, -47, -127,
+ -10, -23, -34, -17, -24, -18, -33, -109,
+ ],
+ [
+ -2, -23, 8, -51, -10, 60, 45, 68,
+ -24, -15, -18, 76, 17, 28, 28, 45,
+ -150, -160, -68, -8, 24, 40, -10, 39,
+ -27, 55, -29, 4, 19, 2, 62, 20,
+ 5, -46, -45, 15, 27, 42, 52, 5,
+ -54, -43, 1, -32, 32, 67, -26, 102,
+ -60, 69, -48, -28, 22, 51, 26, 37,
+ -61, -106, -38, -27, -56, 30, -37, 78,
+ ],
+ [
+ 6, -22, -22, -1, 76, 14, 14, -6,
+ -10, -40, -36, 51, 3, 25, 21, 62,
+ -75, -152, -138, -141, -6, 14, 22, 24,
+ -3, -4, 10, -48, -7, 10, 51, -3,
+ 7, -97, 73, -73, 16, 44, 20, 4,
+ 32, 20, -15, -12, 26, 23, -3, 57,
+ -10, -24, 52, 21, 47, 21, -14, 51,
+ -55, -29, 53, 22, -26, -8, 27, 65,
+ ],
+ [
+ 44, 62, 10, 55, -42, 38, 21, 23,
+ 45, 36, 40, -97, 29, 69, 81, 37,
+ -22, -67, -137, -173, -155, -13, -2, 17,
+ -9, 5, -47, -59, -8, 23, -20, 51,
+ 20, -26, -65, 52, -58, 34, 56, 30,
+ -13, 8, -7, 27, 9, 6, 52, 27,
+ -2, 38, -1, 86, -7, 40, 7, 85,
+ -52, -42, -108, 64, -61, -1, -85, 54,
+ ],
+ [
+ 36, 32, -62, -2, 87, 20, -38, 9,
+ 16, 66, 14, 30, 34, -9, 17, 41,
+ -38, -13, -13, -207, -178, -175, 2, -25,
+ -5, 19, -14, -61, -40, 10, 34, 4,
+ 46, -4, -3, -49, 34, -34, 67, 59,
+ -15, 45, 28, 2, 32, 10, -54, 23,
+ -10, 30, 7, -2, 2, 21, 3, 27,
+ -8, 50, 23, 14, 20, 76, -25, -5,
+ ],
+ [
+ 36, 11, 7, 39, -60, 80, -13, -47,
+ 33, 32, 30, 16, -56, 4, 12, 11,
+ 4, 65, 4, -16, -197, -197, -195, -5,
+ 53, 14, 21, 11, -38, -40, -55, 33,
+ 48, 48, 30, 4, -50, 24, -40, 43,
+ 30, 20, 47, 18, 2, -0, 30, 103,
+ -28, 8, 7, 10, -6, 17, 9, -15,
+ 10, 3, 32, 3, 5, 9, -10, -10,
+ ],
+ [
+ 8, 11, 55, 11, 20, -21, 18, -13,
+ 1, 53, 67, 53, 12, -16, 17, -116,
+ 23, 42, 53, 5, 32, -133, -193, -245,
+ 21, 28, 29, 3, -1, -86, 14, -42,
+ 28, 45, 53, 33, 23, -26, -31, -17,
+ 17, 34, 35, 35, 24, 7, -25, -18,
+ 34, 14, 8, 1, 18, -8, 35, 5,
+ -43, -13, -12, -2, -11, 7, -10, 48,
+ ],
+ [
+ 53, 15, 59, 23, 15, 40, -10, 31,
+ 21, 51, 53, 59, 47, 9, -37, -45,
+ 20, 5, 54, 45, 21, -9, -83, -223,
+ 21, -13, 23, 38, 34, 9, -54, 10,
+ -9, 22, 22, 32, 40, 22, -32, -42,
+ -18, 14, 24, 26, 12, 11, 4, -39,
+ 8, -9, 13, -16, -28, -7, -51, -53,
+ -20, -39, -7, -33, -2, -43, -31, -52,
+ ],
+ [
+ -19, 11, 55, 27, 48, 28, -50, 21,
+ -27, -19, 22, 38, 5, 72, 1, 19,
+ -23, -77, -18, -28, 48, 6, 24, -2,
+ -4, -20, -68, 9, -65, -2, -11, -32,
+ 57, -0, -68, 13, 47, 36, 15, 28,
+ 3, -38, 9, 10, -20, -40, 39, 4,
+ 10, -94, 20, -6, 41, -22, 4, -42,
+ -4, -20, 31, 1, 33, 12, 13, -39,
+ ],
+ [
+ 3, 114, 8, 68, -40, 13, -13, -27,
+ -10, 23, 1, 6, 34, 58, 44, -36,
+ -14, 77, 19, -6, 55, 13, 12, -6,
+ -63, -23, -2, -38, -12, -2, -12, 56,
+ -16, 69, -24, 0, -8, 10, 47, 27,
+ 45, -15, 60, -59, 2, 49, 35, -39,
+ -35, 5, 3, -39, -17, -35, -1, -21,
+ -44, 2, -74, -69, 1, -110, -81, 30,
+ ],
+ [
+ 17, -25, 106, -20, 27, 72, 26, 28,
+ -38, 28, 88, -15, 31, 17, 45, 21,
+ 30, -22, 56, -27, 24, -13, -27, -1,
+ 7, -45, 62, -17, -50, -12, -2, 14,
+ -52, -33, 39, -51, 21, 29, 28, 42,
+ -129, -37, 15, -8, -57, -32, 55, -8,
+ -28, 32, 56, -60, -7, -35, -17, 18,
+ 2, -68, 14, -73, -62, -41, 1, 59,
+ ],
+ [
+ -12, 50, -4, 69, 32, -13, -4, 53,
+ 1, -39, -59, 71, -17, 40, 31, 5,
+ 56, -14, -3, 96, 3, -66, 56, -0,
+ -15, 41, -60, 29, -73, -0, 2, -33,
+ -28, -38, -5, 46, -37, -28, -28, 41,
+ -22, -47, -38, 60, -25, -58, -33, 71,
+ -65, -64, 66, 46, 3, -4, -34, 17,
+ 15, -26, -8, 41, -15, -4, 29, -52,
+ ],
+ [
+ -21, 39, 38, -49, 56, 6, -1, 30,
+ 1, 16, 14, 53, 66, 31, 20, 11,
+ -13, 37, 2, -3, 52, -6, 0, 33,
+ -50, -48, -15, -6, 93, 28, -32, -42,
+ 2, 7, 40, 21, 34, -58, 90, 15,
+ -11, -42, -49, -6, -10, 17, -37, 28,
+ -44, -52, 30, -21, 34, -77, -10, -20,
+ -44, -107, -65, -38, 53, -8, -2, -12,
+ ],
+ [
+ -8, 18, 18, 35, 93, 54, 35, -21,
+ -70, -14, 19, 58, 26, 106, -11, 9,
+ -28, 13, -9, 23, -9, 40, -39, 85,
+ 41, 64, -6, -39, -21, 25, -20, -61,
+ -23, -3, -1, -7, -42, 22, -6, 11,
+ -26, 9, -4, -66, -81, 18, -20, 9,
+ -14, 33, -91, 11, 20, 6, 12, 40,
+ -59, -57, 12, 36, -80, 34, -33, -66,
+ ],
+ [
+ -3, 14, -23, 36, 26, -11, 58, -4,
+ -3, 92, -1, 98, 23, -3, 41, -16,
+ 15, -57, 15, 43, 70, -44, 58, -17,
+ -1, 9, 60, 0, -14, -55, -19, 38,
+ -26, -84, 26, 29, -14, -37, 41, -3,
+ 12, 51, 2, -26, -21, -77, -18, -15,
+ 27, 36, -7, -58, -42, -28, -39, -98,
+ 16, 34, -24, 23, 11, -32, -33, -48,
+ ],
+ [
+ -11, -26, -9, 35, -5, -16, -21, -50,
+ -56, 23, -7, -39, 22, 11, -17, 41,
+ 34, 26, -13, -32, 13, 76, -13, -12,
+ -27, 4, -8, 37, -22, -13, -23, 24,
+ 10, 61, 36, -12, -1, 5, 8, 13,
+ -25, 19, -40, -11, 29, 16, -11, -19,
+ -12, 62, -4, 44, -6, 35, -19, -19,
+ 9, -9, -17, -10, 33, -33, -76, 15,
],
];
internal static readonly short[][] MiddleGameEnemyKingTable =
[
[
- 0, 0, 16, 13, 11, -9, -61, 5,
- 0, 0, 49, -2, -77, 69, -32, -9,
- -27, -0, 37, 6, 52, 65, -6, 63,
- -44, 92, -17, 13, -4, 17, 30, -21,
- -56, -49, -45, -33, 58, 58, 25, -37,
- 35, 32, 11, -11, -42, -45, -15, 6,
- -22, 10, 6, 2, -24, -29, -4, -3,
- 22, -7, -28, -32, -6, -19, 0, -19,
- ],
- [
- 0, 0, 0, 3, -31, 2, 11, -6,
- 0, 0, 0, 10, 42, -4, -16, -5,
- 26, 73, 9, -37, 12, -1, -28, 56,
- -34, -40, -16, -53, -36, -16, 14, -3,
- 3, 5, -24, -85, -52, -43, -3, -6,
- 16, -10, 8, 22, -25, 1, -19, -13,
- -7, 10, 20, 30, 39, 19, 16, 7,
- 15, 0, -4, -1, -0, -2, 5, -4,
- ],
- [
- -8, 0, 0, 0, -4, -36, -24, 1,
- 10, 0, 0, 0, -33, 36, 32, 43,
- -37, 46, -49, -6, -7, -51, 18, -20,
- -26, -5, 6, -22, -22, 16, -4, -1,
- -0, -28, -31, 19, -23, -43, -45, -93,
- 13, -12, -12, -42, -48, -16, -2, 40,
- 4, 36, 30, 9, 23, 24, 31, 34,
- 27, 4, 0, -5, 4, 2, 9, -4,
- ],
- [
- -34, -6, 0, 0, 0, -9, 18, 8,
- -18, -15, 0, 0, 0, 31, 21, -15,
- 35, 9, 47, 2, 26, -41, -3, 29,
- 25, 3, -22, 36, -49, -4, 27, 58,
- -29, -34, -46, -20, -58, 8, -32, 101,
- 7, -14, 1, -39, -12, -1, 0, -63,
- 20, 29, 40, 44, 42, 2, 28, -6,
- 13, 1, 5, 0, 3, 1, 17, 4,
- ],
- [
- -8, -22, -29, 0, 0, 0, -6, 3,
- -2, -15, 23, 0, 0, 0, 20, 21,
- -38, -7, -4, 64, 23, 86, -19, 76,
- -8, 66, 55, 10, 36, -46, 82, -75,
- 55, -86, -80, -96, -58, -86, -63, -26,
- -19, -9, -39, -30, -11, -13, 5, -3,
- -17, 59, 52, 37, 22, 35, 37, 23,
- 23, 0, -4, -3, 0, -1, 11, -4,
- ],
- [
- 13, 2, -36, 9, 0, 0, 0, 16,
- 14, 40, 21, -1, 0, 0, 0, 15,
- 47, -22, -45, -15, 24, 28, 76, 59,
- -45, -14, 29, 47, 35, 8, 41, -21,
- -24, -22, 23, 1, 23, 9, 29, -14,
- -7, -11, -19, -12, -5, -24, 10, -4,
- 1, 29, -2, -6, -2, 11, 4, 17,
- 19, 2, -2, -1, 1, 0, 13, -2,
- ],
- [
- -52, 15, 42, 35, -35, 0, 0, 0,
- 55, 41, 21, -40, 53, 0, 0, 0,
- -62, -7, -113, 32, -102, 22, 33, -1,
- -119, -38, 18, 6, -8, -18, 7, 11,
- -11, -34, -78, -71, -81, -105, -86, -97,
- 81, -13, -19, -39, -38, -40, -1, -18,
- -24, 24, 21, 13, 10, 19, 15, 13,
- 22, -5, -9, -17, -11, -13, 0, -11,
- ],
- [
- 51, 33, -4, -7, 10, 69, 0, 0,
- -8, 7, 63, 49, -24, -42, 0, 0,
- -110, -50, 11, -71, 35, 27, 73, -26,
- 44, -2, -51, -8, -18, -3, -2, 13,
- -6, -19, -44, -111, -75, -38, -7, -102,
- -9, 36, -13, 6, 3, -10, 3, 31,
- 2, 11, 34, 42, 30, 20, 22, 37,
- 20, 4, 4, -4, 4, 2, 11, 0,
- ],
- [
- 9, -7, -30, 13, 62, -98, -14, -10,
- -14, 28, 7, -22, -25, 29, -29, -1,
- 0, 0, 0, 40, -84, 42, 26, 58,
- 66, 59, 20, -49, -16, -30, -9, 14,
- -38, -36, 39, -1, -21, 48, 22, -61,
- -25, 25, -36, 7, 4, -36, 24, -20,
- -4, 11, 9, -27, 7, -22, -25, 17,
- 10, -7, -4, 19, 27, 3, 8, -21,
- ],
- [
- 15, -33, -32, -15, -49, -33, 3, 11,
- -93, 4, 38, 12, 82, 9, -27, 53,
- 27, 0, 0, 0, -50, 16, -8, -18,
- 33, 1, 62, -14, -10, -29, 0, -53,
- -56, -5, -1, 8, 27, 32, 39, 76,
- -17, -13, 15, 29, -10, -11, 6, -47,
- 21, 5, -14, -23, -8, -12, -9, 14,
- 7, -5, -1, 2, 38, -2, 27, 17,
- ],
- [
- -8, 44, -1, 1, 12, -73, -34, 34,
- -59, -5, -36, -12, -37, -12, 25, -103,
- 9, -13, 0, 0, 0, 47, -34, 31,
- 2, -16, -16, 48, -1, -22, 9, 16,
- 37, -12, -1, 3, -34, 21, 19, 13,
- 28, 27, -10, 3, -23, -21, -9, 27,
- 16, 6, -3, -5, 7, -9, 1, 4,
- 25, 27, 11, 9, 33, 16, 30, 44,
- ],
- [
- 56, 10, 58, 8, -15, -11, 23, -30,
- 13, -19, -94, -5, -27, 15, 48, 31,
- -13, 11, -16, 0, 0, 0, -70, -94,
- 9, -62, 23, 26, -1, -5, -17, 11,
- 0, 4, 11, 34, -9, -26, 47, -5,
- 10, 15, 12, 0, 10, 11, -10, -14,
- 21, -10, -29, 13, -2, 5, 14, 19,
- -12, 27, 27, 21, 10, -11, 31, 28,
- ],
- [
- -64, 54, 1, -3, 49, 5, -28, -6,
- 121, -30, -15, -16, 43, -50, 6, -109,
- 10, 7, 12, -38, 0, 0, 0, -71,
- 42, 3, -38, 5, 22, 34, 11, 8,
- -16, 3, -25, 23, -8, -18, 2, 18,
- -82, 17, 18, -3, 4, 14, 20, -0,
- -18, -7, 0, -6, 9, 4, 12, 4,
- 34, 18, 20, -7, 22, 3, 26, 19,
- ],
- [
- 23, 37, -22, 50, -3, -1, -9, 10,
- -31, 69, 45, 43, 36, 24, -12, 6,
- 61, 7, 12, -47, 74, 0, 0, 0,
- -46, -38, -34, 8, -76, 26, 1, 2,
- 35, 14, -2, 26, -9, -17, 1, -31,
- -49, -14, 9, -31, -16, -1, 2, -5,
- -8, -13, -34, -3, -19, -18, -2, 8,
- 3, 2, 2, 0, 0, -25, -3, -19,
- ],
- [
- 3, 11, -38, -20, -13, 48, -17, -10,
- -6, 35, 17, 35, 54, -21, -17, 17,
- 99, -6, 19, -7, -56, -46, 0, 0,
- 43, 16, 0, -71, 8, -51, 19, 30,
- -55, 44, 28, -26, 13, -22, -27, -16,
- -57, -5, -61, -13, 0, 7, 8, 2,
- 5, 21, -9, -4, -14, -5, 25, 12,
- 29, 10, 11, -30, -1, -3, 2, 6,
- ],
- [
- 14, -13, -14, -52, 48, -18, -6, 3,
- -33, 2, 10, -50, -6, -43, 54, 25,
- -11, 6, 22, 2, 36, -35, 12, -14,
- 18, -23, -86, -59, 15, -1, -69, -42,
- 5, 24, 52, -30, 12, 43, 57, -7,
- 7, 21, 88, 19, -61, -19, -4, 42,
- 47, -44, -51, 1, -25, -34, -42, -59,
- 42, -12, 47, 13, 20, 1, 83, 38,
- ],
- [
- 15, -1, 51, 34, 21, -15, 40, -23,
- 23, 19, -23, 39, -45, 19, 15, 8,
- -4, -28, -30, 10, 35, -50, 26, 5,
- -14, 10, 44, -60, -4, 7, -40, 84,
- -10, -41, 11, 26, 23, 28, 44, -11,
- 18, 21, 18, 22, 61, -53, -80, -85,
- -55, -59, -1, -58, -24, -9, -39, 40,
- -38, -33, -41, 10, -22, -5, -9, 12,
- ],
- [
- -7, -37, 40, -8, -31, 29, 55, 9,
- 1, -32, -78, 37, -70, 15, -33, 20,
- 62, 9, 2, 2, 15, -51, 35, 60,
- -40, 17, 37, 4, 26, -13, -57, -23,
- 39, 23, -11, 58, 43, 52, 15, 39,
- 13, 0, 5, -20, 49, 57, 1, -15,
- 24, -20, -62, 16, -61, -68, -15, -21,
- -108, 7, 42, -25, -45, 30, 32, -19,
- ],
- [
- 28, -4, 39, -19, 43, -12, 17, 27,
- 64, 3, -47, 81, -56, 20, -55, 58,
- 25, -22, -55, -66, 11, 51, -45, -45,
- 12, 1, 29, 3, 5, 34, 0, 9,
- 46, 43, 10, 13, -6, 44, -5, 67,
- -14, 18, -7, -2, 2, 2, -24, -34,
- 63, -43, 14, -48, -26, 6, -24, 29,
- -92, 77, 27, -38, -73, -39, -30, 37,
- ],
- [
- -50, 8, 28, -40, 16, 6, -3, 13,
- -22, -32, 24, -22, 9, -36, 35, 43,
- -12, -3, 11, 36, -74, -59, -43, -49,
- -11, 21, -3, 24, 49, -24, -9, 25,
- -44, 78, 58, 49, 37, -83, -45, 65,
- 46, -29, -8, -25, 4, -8, 41, 14,
- 21, 14, -24, 1, 1, -22, -24, -69,
- -2, 14, 66, 23, -58, -58, 86, -3,
- ],
- [
- 42, -27, 42, -11, -21, 47, 11, 15,
- -35, 17, 26, -56, 82, -70, 21, -14,
- 2, 7, -6, 28, 17, -32, 22, -13,
- 37, 42, -40, -53, 35, 55, -57, 4,
- 65, 89, 21, 39, -6, 29, -13, 39,
- -15, 2, 33, 32, 3, 16, -10, 89,
- -111, -34, -17, -11, 5, -34, -26, -59,
- -29, 19, 34, 24, -39, -35, -3, -51,
- ],
- [
- 9, -11, 11, -24, -4, 31, 29, 2,
- 23, -17, -46, 29, 41, 33, -14, -27,
- -51, 3, -14, 74, -52, 1, -13, 21,
- 26, -15, 49, 3, 35, -62, -2, -19,
- -5, 48, 53, 16, 46, 7, -17, 22,
- 7, -53, 2, -21, 12, 15, 38, 12,
- 74, 32, -24, 38, -39, -11, -1, -19,
- -6, 20, -22, -63, -77, -114, -39, -71,
- ],
- [
- 11, 5, -70, 3, -21, 23, 17, -5,
- -18, -42, 1, -50, -1, -44, 14, 31,
- -40, 42, 114, -59, 99, -27, -19, -23,
- 28, -79, -111, 58, -108, 55, 11, -3,
- 27, -40, 19, 7, 29, 46, -14, -5,
- 19, -19, -55, 95, 74, 124, -2, -2,
- -17, -4, 43, -79, -22, 6, -2, -30,
- -21, -42, -23, -80, -25, -69, -10, 12,
+ 0, 0, 18, 12, 11, -9, -61, 5,
+ 0, 0, 50, -2, -78, 67, -33, -9,
+ -25, 1, 39, 6, 52, 68, -7, 63,
+ -45, 94, -19, 10, -3, 12, 30, -20,
+ -58, -50, -46, -32, 58, 61, 24, -37,
+ 35, 33, 12, -11, -42, -46, -15, 7,
+ -22, 11, 8, 4, -23, -29, -3, -4,
+ 22, -5, -28, -32, -5, -18, -0, -20,
+ ],
+ [
+ 0, 0, 0, 4, -30, 3, 11, -6,
+ 0, 0, 0, 9, 46, -7, -13, -8,
+ 27, 75, 13, -33, 7, -4, -31, 58,
+ -31, -38, -14, -53, -38, -15, 17, -6,
+ 2, 3, -25, -86, -55, -43, -3, -6,
+ 16, -10, 9, 23, -24, 0, -20, -14,
+ -8, 11, 20, 31, 40, 19, 15, 6,
+ 14, 0, -5, -2, -1, -2, 3, -5,
+ ],
+ [
+ -8, 0, 0, 0, -3, -37, -24, -0,
+ 9, 0, 0, 0, -36, 37, 30, 44,
+ -38, 48, -46, -5, -8, -50, 18, -16,
+ -28, -6, 3, -24, -18, 21, -1, -6,
+ -2, -28, -30, 19, -22, -43, -44, -93,
+ 17, -11, -12, -41, -48, -15, -2, 40,
+ 4, 36, 31, 10, 25, 24, 31, 33,
+ 27, 5, 0, -5, 4, 3, 8, -4,
+ ],
+ [
+ -33, -5, 0, 0, 0, -7, 14, 8,
+ -17, -17, 0, 0, 0, 32, 23, -14,
+ 35, 10, 48, -3, 23, -44, 1, 28,
+ 26, 4, -19, 38, -47, -1, 28, 56,
+ -30, -35, -46, -22, -59, 8, -33, 100,
+ 4, -12, 3, -36, -11, -1, 1, -63,
+ 19, 29, 41, 45, 43, 3, 28, -6,
+ 13, 2, 5, 0, 2, 1, 17, 3,
+ ],
+ [
+ -9, -21, -30, 0, 0, 0, -6, 6,
+ -3, -16, 20, 0, 0, 0, 19, 20,
+ -35, -6, -8, 64, 26, 88, -15, 78,
+ -9, 63, 63, 11, 36, -46, 82, -78,
+ 58, -86, -79, -93, -55, -86, -62, -27,
+ -21, -8, -39, -29, -10, -12, 4, -4,
+ -18, 60, 53, 37, 22, 35, 36, 23,
+ 23, 1, -4, -2, 0, 0, 11, -4,
+ ],
+ [
+ 13, -0, -35, 8, 0, 0, 0, 17,
+ 14, 41, 19, 1, 0, 0, 0, 17,
+ 46, -23, -45, -18, 24, 30, 79, 57,
+ -46, -7, 30, 49, 36, 4, 36, -18,
+ -23, -23, 24, 2, 25, 8, 30, -14,
+ -5, -10, -18, -13, -4, -23, 9, -4,
+ 1, 30, -2, -5, -2, 11, 5, 15,
+ 18, 2, -3, -1, -0, 0, 12, -3,
+ ],
+ [
+ -51, 14, 44, 36, -34, 0, 0, 0,
+ 54, 42, 22, -39, 48, 0, 0, 0,
+ -66, -10, -111, 34, -101, 20, 30, -0,
+ -120, -38, 11, 1, -7, -21, 9, 11,
+ -9, -35, -76, -69, -82, -106, -88, -97,
+ 83, -12, -18, -38, -36, -39, -0, -18,
+ -24, 26, 22, 14, 12, 19, 16, 12,
+ 22, -3, -8, -17, -11, -12, 0, -11,
+ ],
+ [
+ 51, 35, -4, -10, 7, 66, 0, 0,
+ -8, 6, 64, 52, -24, -42, 0, 0,
+ -106, -51, 7, -76, 41, 28, 77, -26,
+ 43, -2, -48, -6, -19, -1, -6, 14,
+ -8, -19, -43, -110, -74, -39, -8, -102,
+ -8, 37, -14, 6, 5, -9, 4, 30,
+ 3, 11, 36, 44, 31, 21, 23, 36,
+ 20, 5, 4, -3, 4, 3, 11, 0,
+ ],
+ [
+ 9, -7, -31, 16, 62, -99, -15, -10,
+ -15, 28, 6, -24, -27, 29, -28, -0,
+ 0, 0, 0, 41, -83, 41, 28, 58,
+ 67, 58, 19, -49, -16, -32, -11, 20,
+ -40, -35, 38, 1, -21, 47, 22, -61,
+ -25, 24, -36, 6, 3, -36, 23, -21,
+ -5, 11, 10, -26, 7, -23, -25, 16,
+ 9, -7, -6, 17, 25, 2, 7, -23,
+ ],
+ [
+ 17, -32, -32, -15, -48, -30, 4, 11,
+ -94, 5, 38, 12, 82, 8, -26, 56,
+ 28, 0, 0, 0, -54, 16, -8, -16,
+ 33, 0, 68, -14, -6, -32, -0, -52,
+ -56, -4, -1, 7, 27, 31, 39, 76,
+ -20, -13, 14, 29, -10, -11, 5, -48,
+ 20, 4, -14, -23, -8, -14, -10, 12,
+ 5, -5, -3, -1, 36, -4, 25, 15,
+ ],
+ [
+ -9, 46, -1, 1, 11, -73, -34, 33,
+ -61, -6, -37, -12, -36, -12, 24, -100,
+ 7, -15, 0, 0, 0, 50, -36, 30,
+ 4, -14, -17, 51, -1, -19, 11, 19,
+ 38, -14, 0, 3, -33, 20, 19, 13,
+ 26, 27, -11, 2, -23, -21, -9, 26,
+ 14, 6, -3, -5, 7, -10, -0, 2,
+ 23, 26, 8, 7, 31, 15, 28, 41,
+ ],
+ [
+ 58, 10, 58, 9, -17, -12, 24, -30,
+ 12, -17, -93, -6, -27, 14, 45, 30,
+ -13, 11, -17, 0, 0, 0, -70, -92,
+ 9, -59, 24, 29, 3, -3, -17, 9,
+ 1, 6, 12, 34, -9, -27, 45, -5,
+ 10, 15, 12, 0, 10, 11, -11, -15,
+ 21, -10, -30, 13, -1, 4, 13, 17,
+ -13, 26, 25, 19, 8, -12, 30, 25,
+ ],
+ [
+ -63, 53, -1, -4, 49, 4, -28, -5,
+ 120, -30, -12, -18, 41, -50, 5, -109,
+ 8, 7, 12, -36, 0, 0, 0, -72,
+ 44, 3, -39, 6, 22, 36, 11, 6,
+ -16, 3, -24, 25, -6, -18, 1, 17,
+ -82, 18, 19, -3, 5, 14, 21, -0,
+ -18, -7, 0, -5, 10, 3, 12, 3,
+ 33, 19, 19, -8, 22, 3, 24, 17,
+ ],
+ [
+ 22, 33, -22, 51, -4, -4, -9, 9,
+ -32, 68, 44, 40, 37, 23, -11, 5,
+ 62, 10, 11, -44, 76, 0, 0, 0,
+ -46, -38, -33, 8, -78, 28, 3, 4,
+ 35, 15, -1, 28, -9, -17, 1, -32,
+ -49, -13, 9, -30, -16, -0, 2, -6,
+ -7, -13, -33, -2, -17, -18, -2, 6,
+ 2, 3, 1, -0, -1, -24, -4, -20,
+ ],
+ [
+ 3, 12, -38, -19, -11, 47, -16, -10,
+ -9, 36, 19, 40, 52, -20, -18, 17,
+ 100, -6, 23, -5, -54, -47, 0, 0,
+ 43, 12, -5, -79, 6, -53, 18, 31,
+ -52, 42, 28, -26, 13, -22, -29, -16,
+ -55, -3, -60, -12, 1, 8, 8, 2,
+ 6, 23, -8, -3, -11, -4, 24, 12,
+ 28, 11, 11, -29, -0, -2, 1, 5,
+ ],
+ [
+ 14, -14, -14, -52, 48, -20, -7, 3,
+ -33, 0, 8, -50, -7, -39, 56, 22,
+ -11, 6, 21, -2, 38, -32, 11, -14,
+ 18, -24, -84, -58, 20, -2, -67, -42,
+ 7, 26, 51, -28, 11, 44, 59, -5,
+ 5, 20, 89, 18, -62, -20, -5, 41,
+ 49, -41, -49, 3, -25, -33, -42, -61,
+ 43, -13, 47, 15, 18, 1, 82, 37,
+ ],
+ [
+ 15, -1, 49, 32, 22, -13, 42, -24,
+ 27, 20, -25, 38, -45, 20, 15, 13,
+ -5, -32, -33, 11, 35, -50, 26, 7,
+ -13, 13, 42, -61, -4, 12, -41, 85,
+ -10, -42, 10, 27, 22, 29, 46, -11,
+ 18, 21, 18, 23, 59, -57, -81, -84,
+ -56, -58, -0, -60, -26, -5, -36, 41,
+ -39, -37, -42, 8, -21, -10, -8, 12,
+ ],
+ [
+ -6, -37, 42, -9, -30, 30, 53, 10,
+ 6, -26, -76, 38, -70, 10, -33, 22,
+ 62, 11, -1, 2, 13, -51, 36, 55,
+ -40, 19, 36, 2, 24, -14, -56, -24,
+ 37, 25, -11, 59, 39, 52, 17, 38,
+ 10, 1, 5, -21, 49, 56, -1, -14,
+ 22, -19, -68, 17, -60, -67, -14, -20,
+ -109, 1, 42, -28, -46, 31, 33, -19,
+ ],
+ [
+ 27, -4, 41, -20, 43, -12, 17, 28,
+ 66, 5, -48, 78, -55, 22, -56, 56,
+ 23, -22, -53, -66, 9, 51, -48, -45,
+ 10, 1, 28, 8, 3, 36, 2, 10,
+ 48, 46, 10, 12, -5, 42, -7, 67,
+ -12, 15, -7, -1, 3, 3, -21, -38,
+ 63, -45, 14, -51, -29, 6, -26, 34,
+ -89, 72, 28, -36, -74, -39, -30, 40,
+ ],
+ [
+ -51, 11, 28, -40, 15, 4, -3, 14,
+ -22, -35, 24, -22, 11, -34, 35, 37,
+ -13, -6, 16, 36, -72, -61, -44, -50,
+ -14, 22, -4, 26, 46, -25, -11, 32,
+ -47, 75, 55, 48, 39, -83, -47, 64,
+ 46, -24, -10, -24, 5, -7, 42, 15,
+ 19, 13, -19, 1, -3, -22, -23, -69,
+ -0, 15, 64, 24, -62, -59, 88, -3,
+ ],
+ [
+ 42, -27, 41, -12, -21, 50, 11, 15,
+ -35, 16, 31, -55, 85, -69, 21, -15,
+ 0, 6, -8, 25, 16, -36, 20, -13,
+ 38, 36, -39, -54, 36, 55, -58, 2,
+ 67, 93, 21, 34, -5, 30, -11, 38,
+ -19, -0, 34, 33, 4, 16, -8, 89,
+ -110, -32, -18, -14, 3, -36, -28, -56,
+ -27, 23, 29, 20, -41, -34, 2, -49,
+ ],
+ [
+ 8, -13, 11, -22, -3, 31, 30, 2,
+ 23, -18, -46, 27, 42, 33, -14, -28,
+ -51, 5, -14, 75, -54, 3, -14, 22,
+ 25, -15, 49, 4, 39, -61, -1, -21,
+ -7, 50, 53, 17, 45, 8, -17, 23,
+ 10, -54, 2, -21, 14, 16, 38, 11,
+ 75, 30, -26, 38, -39, -11, -3, -18,
+ -6, 15, -24, -65, -78, -113, -38, -70,
+ ],
+ [
+ 11, 6, -68, 3, -21, 24, 18, -5,
+ -18, -44, -2, -50, -2, -43, 14, 31,
+ -37, 40, 116, -58, 99, -26, -18, -23,
+ 31, -82, -108, 56, -110, 56, 12, -3,
+ 25, -40, 18, 5, 30, 47, -12, -6,
+ 20, -23, -58, 95, 74, 124, -2, -2,
+ -17, -4, 41, -81, -22, 7, -4, -31,
+ -22, -38, -22, -78, -25, -71, -11, 13,
],
];
internal static readonly short[][] EndGameEnemyKingTable =
[
[
- 0, 0, -51, -1, 33, 19, 9, -65,
- 0, 0, 34, 19, -21, -9, 15, 43,
- -67, 6, 10, -17, -11, -22, -1, -22,
- -6, -34, 4, 4, 4, 3, 4, 1,
- 21, 1, -5, 4, -14, -4, 19, 15,
- 11, -14, 6, 8, 19, 19, 16, 15,
- 19, -7, -2, -1, 8, 5, -0, 4,
- -19, 16, 20, 5, 10, 33, 15, 8,
- ],
- [
- 0, 0, 0, 16, -1, 19, 39, -17,
- 0, 0, 0, 1, 42, -14, -6, -24,
- 12, 13, -9, 15, -23, 0, -5, -4,
- -14, -23, -1, -15, -10, 3, -14, 23,
- 2, -11, -7, 13, 18, 13, 14, 44,
- -37, 1, 0, 1, 9, 3, 8, 11,
- -0, -14, -9, -14, -15, -12, -15, -30,
- -17, 0, -1, -3, 3, 9, 6, -0,
- ],
- [
- -47, 0, 0, 0, -20, 17, -22, -29,
- -39, 0, 0, 0, 30, 0, 10, -7,
- 36, -16, 25, 3, 11, 21, 4, -3,
- 1, -12, -18, 1, -17, -17, -4, 4,
- 3, 5, 10, 18, 11, 3, 5, 34,
- 21, -11, 1, 3, 11, 5, 16, -6,
- -6, -15, -17, -13, -8, -8, -21, -19,
- -15, 1, 0, -1, -2, 3, 2, 8,
- ],
- [
- -34, 15, 0, 0, 0, 24, 9, -13,
- 20, -0, 0, 0, 0, -6, 1, -45,
- -27, 10, -14, 12, -10, 11, -2, 47,
- 8, -33, 11, -16, 2, -18, -28, -26,
- 12, -1, -1, 11, 4, -6, 19, -42,
- -2, -4, -6, 15, 5, -9, 9, 15,
- -6, -0, -7, -19, -8, 0, -19, 13,
- 0, 3, 1, 0, 12, 5, 11, 14,
- ],
- [
- 25, -50, -8, 0, 0, 0, -1, 62,
- -7, 26, 1, 0, 0, 0, -0, -15,
- -24, 4, 8, -11, 16, -14, 5, -33,
- 10, -9, -23, -12, -29, 1, -35, -22,
- -8, 15, 24, 24, 17, 12, 6, -4,
- 9, -6, -1, 1, -2, -4, -6, 12,
- -1, -21, -29, -22, -23, -19, -16, -20,
- -9, -3, 2, -12, 0, -3, 3, 9,
- ],
- [
- 9, 26, -5, 17, 0, 0, 0, -15,
- 7, -23, -8, 2, 0, 0, 0, -23,
- -1, -11, 8, 4, -6, 22, -12, 1,
- -5, 4, 1, -30, -14, -22, -30, -9,
- 4, 21, -4, 3, -4, -12, -12, -0,
- -18, -1, -2, -4, -4, 1, -15, 4,
- -4, -24, -9, -2, -9, -11, -10, -13,
- -30, -9, -3, -5, 3, 0, 2, 9,
- ],
- [
- -45, 13, -31, -20, -9, 0, 0, 0,
- 32, -6, 30, 19, -17, 0, 0, 0,
- 26, 16, 37, -11, 21, -4, 12, -32,
- 30, -18, -24, -11, -2, -10, -22, -28,
- 10, 19, 17, 22, 17, 13, 12, 4,
- -48, -7, 4, 7, 10, 7, -10, 2,
- 10, -23, -22, -14, -17, -19, -18, -17,
- -30, -6, -2, -11, -3, -2, 0, 2,
- ],
- [
- 101, -13, 39, -38, 10, -42, 0, 0,
- 25, -13, -24, 23, 16, 16, 0, 0,
- -22, 16, -17, 40, -29, 4, -17, -17,
- -43, 3, -3, -16, -6, 0, -27, -19,
- -13, 23, 12, 32, 27, 11, 6, 33,
- -32, -24, 2, -2, -3, -7, -9, -18,
- -3, -12, -21, -26, -21, -14, -19, -25,
- -6, 0, -8, -14, -9, -9, -2, 0,
- ],
- [
- -105, -9, -59, 1, 9, 37, -20, 15,
- -44, -67, 25, -2, -3, 7, 9, 28,
- 0, 0, 0, -8, 19, -5, 0, -24,
- 6, -16, -15, 9, 4, 8, 3, -4,
- 32, 6, 1, 9, 13, 5, 3, 22,
- 22, -10, 10, 2, 2, 19, 8, 22,
- 12, 4, -4, 17, 7, 7, 5, -3,
- 7, 21, 18, 5, 11, 5, 11, 13,
- ],
- [
- -103, -31, -5, 20, 0, 17, -5, 16,
- -14, -6, -29, -40, -12, 1, 9, -10,
- -2, 0, 0, 0, 12, -3, -1, 0,
- -9, -29, -16, -3, -2, 8, -4, 14,
- 19, -4, -1, 4, 4, 0, 2, 5,
- 18, -2, -5, -0, 2, 4, 1, 15,
- 2, -0, 7, 8, 6, 6, 0, -6,
- -2, 13, 8, 12, 8, 13, 6, 7,
- ],
- [
- -1, -3, 0, -9, -44, 7, -13, 4,
- 10, 1, 3, 7, 46, 0, -6, 14,
- -15, -11, 0, 0, 0, -11, 8, -21,
- -11, -16, -7, -12, -11, 9, -1, -8,
- -17, -11, -2, 1, 9, -3, 2, -5,
- -15, -10, -4, -1, 0, 2, 2, -3,
- -9, -8, -7, -0, -0, -1, -7, -4,
- -1, -0, -3, -4, 3, 2, -0, -0,
- ],
- [
- -10, -12, -10, -23, 9, -28, -6, -10,
- 9, 0, 7, 9, -11, 20, -8, -36,
- -12, -16, -1, 0, 0, 0, 2, 13,
- -17, -1, -12, -15, -5, -11, -11, -7,
- -3, -5, -2, -5, 5, 3, -11, -8,
- -17, -8, -9, -1, -5, -5, 2, 1,
- -22, -9, -1, -5, -2, -0, -8, -8,
- 10, -7, -7, -1, 11, 11, 3, 1,
- ],
- [
- 6, -19, -17, -3, -44, -10, -13, -61,
- -8, 3, 17, 2, 15, -14, -5, -21,
- -7, -11, -5, -4, 0, 0, 0, 6,
- -11, -0, 1, -2, -12, -10, -17, -5,
- 1, -2, 5, -2, 4, 1, -7, -15,
- -7, -17, -8, -0, -1, -4, -4, -1,
- -4, -11, -8, 2, 1, 1, -1, 4,
- -15, -2, 0, 10, 10, 13, 8, 9,
- ],
- [
- -26, -27, -18, -14, -32, -34, 4, 32,
- 28, -21, -8, -9, -6, 15, -3, -48,
- -6, -13, 3, 4, -21, 0, 0, 0,
- 25, 10, 9, -8, 16, -16, -17, -37,
- -14, -1, 4, -4, 8, 1, -10, -10,
- -11, -2, -5, 11, 6, 3, 1, 4,
- -8, -12, -1, -1, 3, 7, 4, 5,
- -24, -4, 3, -3, 14, 20, 17, 20,
- ],
- [
- -9, -49, -6, -17, 25, -2, -7, 37,
- -7, 8, 9, -10, -9, 15, 3, 14,
- -7, 1, -13, 12, -3, 17, 0, 0,
- -13, -4, 4, 11, -9, -0, -21, -36,
- 5, -13, -7, 5, 4, 2, 1, -8,
- -5, -3, 5, 6, 2, 2, 3, 0,
- -12, -21, -9, 0, 8, 4, -3, 6,
- -21, -18, -4, 10, 12, 8, 13, 14,
- ],
- [
- 41, -13, -14, -7, 3, -11, -34, 41,
- -8, 0, -14, 26, 9, -7, 1, 26,
- 24, 23, 5, -14, 1, 13, -5, -11,
- -1, 18, 30, 17, 7, 5, 30, 10,
- -25, -9, 19, 16, 11, 5, -9, 16,
- -31, 38, 20, 14, 20, 2, -0, -8,
- 33, 54, 43, 18, 19, 19, 12, 23,
- 7, 37, 22, 23, -5, 5, -3, -15,
- ],
- [
- -14, 54, 64, -43, -17, -22, -7, 17,
- -65, -31, -8, -26, -29, 8, -10, 11,
- 25, -23, -19, 9, 4, 1, -11, 26,
- 24, 0, -16, 35, 8, 7, 22, -12,
- -28, 2, 11, -3, 14, 2, 4, 27,
- 30, 74, 25, 17, 1, 21, 25, 30,
- 11, 16, 29, 14, 13, 3, 19, -13,
- 18, 10, 26, 8, 28, 4, -0, 6,
- ],
- [
- 34, -23, 52, 7, 12, -14, 19, 10,
- 2, 27, -34, -12, -14, -3, 17, 20,
- -7, -32, -14, -17, -1, 6, -20, 0,
- -5, 7, -4, -10, 13, 7, 14, 21,
- -31, 34, 29, -27, -1, -3, -4, 4,
- -3, 1, 5, 24, -3, -5, 3, 4,
- -9, 15, 16, 7, 20, 11, 11, -3,
- 11, 9, -7, 4, 21, 2, -9, 5,
- ],
- [
- 54, -1, 83, -2, -12, -32, -80, 13,
- -24, -0, -33, -34, 6, -11, 11, -0,
- -19, 12, -21, 15, 10, -5, 20, 3,
- -4, 13, 3, 20, -5, 13, 12, 2,
- -14, -15, -16, -2, 0, -1, 8, -1,
- -16, 1, 37, 3, 14, 4, 12, 10,
- -19, 12, 3, 12, 15, 3, 6, -5,
- 14, -15, -4, 5, 21, 7, 19, -9,
- ],
- [
- 9, 39, -32, 13, -45, -27, -45, -31,
- -10, 3, 2, -8, 7, -3, -8, 11,
- 24, -4, 6, -26, 16, 19, 14, 4,
- -10, -5, 13, 23, 22, 22, 13, 14,
- -16, -22, -13, 35, -15, 33, 11, -18,
- -17, -6, -1, -37, 17, -4, 3, -5,
- -13, -0, 14, 11, 5, 12, 17, 19,
- 8, -8, -4, 7, 14, 18, 6, 9,
- ],
- [
- -11, 11, 5, 38, 33, 57, 80, -21,
- 18, 4, -5, 2, -33, -27, -25, 23,
- 2, -15, -0, -10, -14, -29, -42, -11,
- -3, 6, 4, 4, 3, -2, 25, -6,
- -11, -30, -5, -13, 7, -10, 26, -38,
- 3, -14, -16, -0, 0, 34, -7, -20,
- 12, -2, 1, 6, 11, 10, 16, 25,
- -4, -7, -20, -9, 11, 2, 13, 20,
- ],
- [
- -11, 9, -6, 28, 18, -0, 37, -91,
- 21, 2, -7, -5, -3, -8, -29, -11,
- 3, -18, -4, -1, 2, -17, -16, -7,
- 6, 11, -12, 16, 8, -14, 9, 39,
- -10, -5, -3, 4, -3, 15, 2, 9,
- -2, 7, -0, 14, 5, 3, -3, -5,
- -24, 6, 5, -8, 20, 17, 17, 21,
- -3, -14, 12, 19, 28, 38, 10, 42,
- ],
- [
- 6, -29, -45, -9, 7, -7, 11, -41,
- -15, -1, -7, -10, -38, 5, -17, -13,
- 11, -31, -26, 1, -5, -15, 23, 25,
- -20, 18, 26, 1, 38, 29, 52, 30,
- -20, 13, -6, -3, 15, 21, -10, -10,
- -27, -11, -5, -8, 2, 14, 26, -41,
- 11, -18, -10, 22, 22, 43, 37, 36,
- 31, 22, 34, 36, 8, 44, 56, 35,
+ 0, 0, -51, -2, 33, 19, 12, -65,
+ 0, 0, 33, 19, -21, -8, 14, 41,
+ -67, 7, 10, -16, -11, -24, -1, -20,
+ -6, -35, 4, 4, 3, 5, 3, 1,
+ 20, 0, -5, 2, -15, -5, 19, 14,
+ 10, -14, 5, 7, 18, 20, 16, 14,
+ 19, -7, -3, -2, 7, 4, -0, 5,
+ -19, 17, 20, 6, 12, 32, 19, 11,
+ ],
+ [
+ 0, 0, 0, 17, 0, 18, 42, -18,
+ 0, 0, 0, -1, 43, -16, -7, -23,
+ 11, 13, -9, 14, -23, 2, -6, -6,
+ -14, -24, -2, -15, -11, 2, -16, 24,
+ 2, -11, -6, 13, 18, 12, 14, 44,
+ -38, -0, -2, -1, 8, 2, 8, 12,
+ -1, -15, -11, -16, -17, -13, -15, -31,
+ -18, 0, -2, -4, 4, 8, 9, 1,
+ ],
+ [
+ -48, 0, 0, 0, -19, 14, -22, -32,
+ -39, 0, 0, 0, 28, -0, 11, -9,
+ 37, -17, 24, 1, 11, 22, 2, -2,
+ 3, -12, -17, 1, -18, -17, -4, 6,
+ 3, 4, 9, 17, 10, 3, 4, 34,
+ 19, -11, 0, 2, 11, 5, 16, -6,
+ -6, -15, -18, -15, -10, -8, -21, -20,
+ -15, 2, 0, -1, -1, 3, 6, 10,
+ ],
+ [
+ -36, 14, 0, 0, 0, 25, 12, -14,
+ 16, 1, 0, 0, 0, -8, 1, -43,
+ -27, 8, -14, 13, -11, 10, -4, 47,
+ 9, -33, 9, -18, 1, -19, -29, -26,
+ 13, -2, -1, 10, 3, -7, 20, -42,
+ 0, -5, -8, 14, 4, -8, 9, 15,
+ -6, -0, -8, -20, -9, -0, -19, 12,
+ -1, 4, 1, 0, 13, 4, 14, 16,
+ ],
+ [
+ 27, -50, -9, 0, 0, 0, -2, 59,
+ -11, 25, 1, 0, 0, 0, -0, -16,
+ -25, 3, 8, -12, 14, -15, 4, -35,
+ 10, -9, -25, -13, -31, 1, -35, -20,
+ -10, 14, 22, 22, 15, 11, 5, -4,
+ 10, -7, -3, -1, -4, -5, -7, 12,
+ -2, -22, -30, -23, -24, -20, -17, -22,
+ -11, -4, 1, -13, 0, -5, 5, 10,
+ ],
+ [
+ 7, 25, -5, 17, 0, 0, 0, -15,
+ 6, -23, -8, 2, 0, 0, 0, -23,
+ -1, -12, 7, 4, -7, 21, -13, 0,
+ -5, 3, 1, -31, -15, -22, -29, -10,
+ 4, 21, -4, 3, -5, -12, -12, -0,
+ -18, -1, -3, -5, -5, 1, -14, 4,
+ -4, -25, -9, -3, -9, -12, -10, -13,
+ -30, -8, -3, -4, 5, 0, 6, 12,
+ ],
+ [
+ -44, 14, -31, -21, -10, 0, 0, 0,
+ 31, -9, 28, 18, -18, 0, 0, 0,
+ 27, 16, 35, -13, 20, -4, 13, -33,
+ 30, -21, -23, -13, -5, -12, -24, -30,
+ 7, 17, 14, 18, 14, 10, 11, 2,
+ -52, -10, 1, 3, 6, 5, -12, -1,
+ 7, -26, -26, -18, -21, -23, -21, -20,
+ -33, -9, -6, -14, -5, -6, 0, 1,
+ ],
+ [
+ 101, -15, 39, -40, 10, -37, 0, 0,
+ 24, -13, -25, 22, 16, 15, 0, 0,
+ -23, 15, -17, 41, -31, 3, -18, -17,
+ -42, 4, -4, -17, -6, -2, -27, -19,
+ -12, 21, 10, 31, 25, 10, 5, 33,
+ -35, -26, 1, -4, -4, -8, -10, -19,
+ -4, -14, -24, -29, -24, -17, -21, -26,
+ -8, -1, -10, -16, -10, -12, -1, 0,
+ ],
+ [
+ -104, -9, -60, -0, 8, 40, -20, 14,
+ -45, -67, 25, -1, -3, 6, 9, 28,
+ 0, 0, 0, -10, 19, -6, -1, -24,
+ 5, -16, -15, 9, 3, 8, 3, -5,
+ 33, 6, 0, 8, 13, 5, 3, 23,
+ 23, -10, 9, 2, 2, 19, 8, 22,
+ 12, 4, -5, 16, 7, 7, 6, -3,
+ 8, 23, 20, 6, 14, 6, 16, 17,
+ ],
+ [
+ -106, -30, -4, 18, 0, 16, -4, 16,
+ -12, -6, -29, -38, -12, 0, 9, -9,
+ -1, 0, 0, 0, 12, -4, -2, -0,
+ -9, -29, -17, -3, -3, 8, -4, 14,
+ 19, -4, -1, 4, 3, 1, 3, 5,
+ 20, -2, -5, -0, 2, 5, 2, 16,
+ 3, 0, 7, 8, 6, 7, 1, -4,
+ -0, 15, 11, 14, 13, 15, 12, 12,
+ ],
+ [
+ 1, -2, -1, -7, -44, 7, -13, 4,
+ 11, 2, 5, 7, 47, -0, -6, 13,
+ -15, -11, 0, 0, 0, -11, 8, -20,
+ -11, -16, -7, -12, -11, 8, -2, -8,
+ -17, -10, -3, 0, 9, -2, 3, -4,
+ -14, -9, -3, -1, 1, 3, 3, -1,
+ -8, -7, -6, 0, 0, 0, -6, -3,
+ 1, 3, -0, -2, 7, 4, 5, 5,
+ ],
+ [
+ -10, -13, -10, -23, 12, -28, -5, -8,
+ 9, 0, 7, 10, -11, 22, -8, -36,
+ -12, -16, -1, 0, 0, 0, 2, 12,
+ -18, -2, -12, -16, -6, -11, -11, -7,
+ -2, -5, -3, -6, 5, 4, -10, -7,
+ -17, -8, -9, -1, -4, -4, 3, 2,
+ -20, -8, -1, -5, -2, 0, -7, -7,
+ 12, -5, -5, 1, 15, 13, 9, 6,
+ ],
+ [
+ 5, -20, -16, -2, -43, -10, -13, -60,
+ -7, 4, 15, 1, 15, -13, -5, -21,
+ -7, -11, -6, -5, 0, 0, 0, 6,
+ -11, -1, 0, -3, -13, -11, -18, -5,
+ 0, -3, 4, -3, 3, 1, -7, -15,
+ -7, -17, -9, -1, -2, -3, -4, -0,
+ -4, -10, -8, 1, -0, 1, -1, 4,
+ -14, -0, 2, 11, 13, 13, 13, 13,
+ ],
+ [
+ -27, -28, -19, -14, -33, -33, 4, 33,
+ 29, -20, -8, -9, -7, 14, -3, -49,
+ -7, -14, 2, 2, -22, 0, 0, 0,
+ 24, 10, 8, -9, 16, -17, -18, -38,
+ -14, -1, 3, -6, 7, 1, -10, -10,
+ -11, -2, -7, 9, 6, 3, 1, 3,
+ -8, -12, -2, -2, 2, 6, 4, 5,
+ -24, -3, 4, -2, 16, 20, 21, 23,
+ ],
+ [
+ -9, -51, -7, -18, 25, -2, -7, 38,
+ -7, 8, 9, -12, -8, 15, 3, 12,
+ -7, 1, -13, 11, -3, 17, 0, 0,
+ -13, -3, 5, 12, -10, -0, -21, -37,
+ 5, -13, -8, 4, 3, 2, 1, -8,
+ -5, -4, 4, 5, 2, 2, 3, 0,
+ -12, -21, -10, -1, 6, 3, -3, 6,
+ -20, -17, -3, 10, 14, 8, 17, 17,
+ ],
+ [
+ 40, -15, -14, -8, 1, -11, -37, 39,
+ -7, -0, -15, 25, 10, -8, 2, 25,
+ 24, 22, 5, -14, -0, 12, -4, -10,
+ -1, 18, 29, 16, 5, 5, 30, 10,
+ -25, -9, 19, 15, 11, 4, -9, 16,
+ -30, 38, 19, 13, 19, 3, 1, -7,
+ 33, 54, 43, 17, 18, 19, 13, 24,
+ 9, 39, 22, 24, -2, 6, 1, -12,
+ ],
+ [
+ -13, 54, 62, -44, -19, -23, -7, 17,
+ -62, -31, -7, -26, -29, 8, -9, 14,
+ 26, -22, -18, 9, 5, 1, -11, 24,
+ 23, -1, -17, 35, 9, 7, 23, -12,
+ -29, 2, 11, -4, 14, 2, 4, 27,
+ 31, 74, 25, 17, 2, 23, 26, 30,
+ 11, 16, 29, 14, 14, 3, 20, -12,
+ 19, 11, 27, 9, 30, 6, 3, 8,
+ ],
+ [
+ 35, -21, 53, 6, 12, -16, 18, 9,
+ 3, 26, -33, -13, -16, -2, 16, 19,
+ -8, -33, -15, -17, -1, 7, -20, 1,
+ -5, 6, -5, -11, 13, 7, 14, 21,
+ -30, 34, 30, -27, -1, -3, -3, 5,
+ -2, 1, 3, 23, -3, -4, 5, 5,
+ -8, 15, 17, 7, 19, 12, 12, -3,
+ 12, 10, -6, 5, 23, 3, -6, 7,
+ ],
+ [
+ 54, 2, 83, -2, -12, -35, -80, 15,
+ -23, -1, -33, -33, 4, -11, 11, 1,
+ -18, 12, -21, 16, 10, -5, 20, 2,
+ -3, 13, 4, 19, -5, 12, 12, 1,
+ -14, -15, -14, -3, -1, -1, 9, -1,
+ -16, 2, 35, 4, 14, 5, 13, 12,
+ -17, 13, 3, 12, 16, 4, 7, -6,
+ 14, -14, -3, 6, 23, 9, 23, -6,
+ ],
+ [
+ 9, 39, -31, 14, -46, -26, -45, -29,
+ -9, 3, 3, -6, 6, -3, -8, 12,
+ 24, -3, 6, -26, 15, 19, 13, 4,
+ -9, -4, 14, 22, 24, 22, 14, 14,
+ -14, -20, -12, 36, -15, 33, 12, -18,
+ -16, -7, -0, -39, 15, -4, 4, -5,
+ -12, 0, 14, 11, 6, 13, 19, 20,
+ 9, -9, -2, 8, 17, 20, 9, 11,
+ ],
+ [
+ -11, 10, 3, 38, 33, 56, 79, -22,
+ 20, 4, -4, 2, -32, -26, -25, 23,
+ 2, -15, 1, -8, -14, -28, -41, -10,
+ -4, 7, 4, 5, 2, -3, 24, -4,
+ -11, -31, -5, -12, 8, -11, 25, -37,
+ 4, -14, -16, -0, -2, 33, -6, -20,
+ 13, -2, 2, 7, 11, 11, 17, 25,
+ -4, -6, -18, -7, 13, 3, 15, 20,
+ ],
+ [
+ -10, 8, -6, 28, 19, 0, 37, -90,
+ 21, 2, -8, -5, -5, -8, -30, -10,
+ 3, -18, -3, -1, 2, -17, -16, -7,
+ 6, 11, -12, 16, 9, -14, 9, 41,
+ -10, -5, -4, 4, -3, 15, 3, 8,
+ -2, 8, -0, 14, 4, 2, -4, -4,
+ -25, 6, 6, -9, 20, 18, 18, 21,
+ -2, -13, 13, 20, 30, 38, 11, 43,
+ ],
+ [
+ 6, -29, -45, -8, 5, -7, 5, -41,
+ -17, -1, -6, -11, -39, 5, -17, -13,
+ 12, -31, -26, 0, -5, -14, 25, 24,
+ -20, 17, 26, -1, 38, 28, 52, 30,
+ -20, 14, -6, -3, 14, 21, -9, -10,
+ -25, -10, -5, -8, 1, 14, 25, -41,
+ 12, -18, -10, 22, 21, 42, 38, 37,
+ 32, 22, 35, 36, 11, 45, 59, 35,
],
];
}
@@ -6014,9 +6014,9 @@ internal static class TunableEvalParameters
public static class EvaluationParams
{
///
- ///
+ ///
///
- public const int IsolatedPawnPenalty = -851980;
+ public const int IsolatedPawnPenalty = -917515;
///
///
@@ -6024,19 +6024,19 @@ public static class EvaluationParams
public const int OpenFileRookBonus = 131112;
///
- ///
+ ///
///
- public const int SemiOpenFileRookBonus = 524303;
+ public const int SemiOpenFileRookBonus = 589839;
///
- ///
+ ///
///
- public const int SemiOpenFileKingPenalty = 262121;
+ public const int SemiOpenFileKingPenalty = 327657;
///
- ///
+ ///
///
- public const int OpenFileKingPenalty = 131008;
+ public const int OpenFileKingPenalty = 196543;
///
///
@@ -6044,45 +6044,47 @@ public static class EvaluationParams
public const int KingShieldBonus = -196585;
///
- ///
+ ///
///
- public const int BishopPairBonus = 4653086;
+ public const int BishopPairBonus = 4718622;
///
///
///
public const int PieceAttackedByPawnPenalty = -2162736;
- public static readonly int[] PieceProtectedByPawnBonus =
+ public static readonly TaperedEvaluationTermByRank PawnPhalanxBonus =
[
- Pack(23, 16),
- Pack(1, 15),
- Pack(8, 22),
- Pack(3, 13),
- Pack(-9, 21)
+ Pack(0, 0),
+ Pack(4, 5),
+ Pack(21, 11),
+ Pack(28, 25),
+ Pack(60, 77),
+ Pack(213, 186),
+ Pack(-50, 404)
];
public static readonly TaperedEvaluationTermByCount8 BadBishop_SameColorPawnsPenalty =
[
- Pack(136, 164),
- Pack(137, 158),
- Pack(135, 145),
- Pack(128, 136),
- Pack(122, 128),
- Pack(117, 119),
+ Pack(137, 165),
+ Pack(138, 159),
+ Pack(135, 146),
+ Pack(129, 137),
+ Pack(122, 130),
+ Pack(118, 120),
Pack(113, 111),
- Pack(107, 102),
- Pack(104, 96)
+ Pack(108, 101),
+ Pack(106, 92)
];
public static readonly TaperedEvaluationTermByCount8 BadBishop_BlockedCentralPawnsPenalty =
[
- Pack(134, 153),
+ Pack(133, 153),
Pack(129, 139),
- Pack(125, 116),
- Pack(124, 93),
- Pack(123, 84),
- Pack(118, 98),
+ Pack(124, 116),
+ Pack(123, 93),
+ Pack(122, 84),
+ Pack(116, 100),
Pack(0, 0),
Pack(0, 0),
Pack(0, 0)
@@ -6091,7 +6093,7 @@ public static class EvaluationParams
public static readonly int[] CheckBonus =
[
Pack(0, 0),
- Pack(16, 3),
+ Pack(17, 3),
Pack(17, 15),
Pack(30, 3),
Pack(13, 19)
@@ -6100,57 +6102,57 @@ public static class EvaluationParams
public static readonly TaperedEvaluationTermByRank FriendlyKingDistanceToPassedPawnBonus =
[
Pack(0, 0),
- Pack(27, 38),
+ Pack(28, 38),
Pack(9, 32),
Pack(2, 20),
Pack(4, 14),
Pack(13, 12),
- Pack(15, 11),
+ Pack(15, 12),
Pack(21, 3)
];
public static readonly TaperedEvaluationTermByRank EnemyKingDistanceToPassedPawnPenalty =
[
Pack(0, 0),
- Pack(-33, -19),
- Pack(-10, 7),
- Pack(4, 18),
+ Pack(-34, -19),
+ Pack(-9, 5),
+ Pack(5, 17),
Pack(13, 27),
- Pack(25, 35),
- Pack(25, 47),
- Pack(32, 51)
+ Pack(25, 36),
+ Pack(24, 49),
+ Pack(31, 52)
];
public static readonly TaperedEvaluationTermByCount27 VirtualKingMobilityBonus =
[
- Pack(-3, -17),
- Pack(1, -4),
- Pack(-1, -4),
- Pack(1, -9),
- Pack(0, -7),
- Pack(1, -6),
+ Pack(-2, -19),
+ Pack(1, -5),
+ Pack(0, -4),
+ Pack(2, -9),
+ Pack(1, -7),
+ Pack(2, -6),
Pack(2, -4),
Pack(2, -5),
- Pack(6, -2),
- Pack(1, 4),
- Pack(-3, 7),
- Pack(-7, 9),
- Pack(-11, 11),
- Pack(-15, 13),
- Pack(-14, 14),
+ Pack(7, -2),
+ Pack(2, 3),
+ Pack(-2, 7),
+ Pack(-6, 9),
+ Pack(-10, 10),
+ Pack(-15, 12),
+ Pack(-14, 13),
Pack(-17, 13),
- Pack(-9, 11),
- Pack(-8, 10),
- Pack(13, 4),
- Pack(26, 1),
- Pack(20, 0),
+ Pack(-10, 11),
+ Pack(-9, 10),
+ Pack(12, 4),
+ Pack(25, 1),
+ Pack(20, 1),
Pack(40, -6),
- Pack(40, -8),
- Pack(48, -12),
- Pack(57, -17),
- Pack(102, -25),
- Pack(121, -39),
- Pack(148, -32)
+ Pack(40, -7),
+ Pack(47, -11),
+ Pack(57, -15),
+ Pack(102, -23),
+ Pack(120, -37),
+ Pack(148, -29)
];
public static readonly TaperedEvaluationTermByCount8 KnightMobilityBonus =
@@ -6158,30 +6160,30 @@ public static class EvaluationParams
Pack(0, 0),
Pack(19, 59),
Pack(29, 93),
- Pack(37, 109),
- Pack(43, 124),
- Pack(49, 139),
- Pack(58, 143),
- Pack(65, 144),
- Pack(74, 135)
+ Pack(37, 110),
+ Pack(44, 124),
+ Pack(49, 138),
+ Pack(58, 142),
+ Pack(65, 143),
+ Pack(75, 134)
];
public static readonly TaperedEvaluationTermByCount14 BishopMobilityBonus =
[
Pack(0, 0),
- Pack(11, 34),
+ Pack(11, 33),
Pack(21, 56),
Pack(28, 73),
- Pack(36, 85),
- Pack(41, 95),
+ Pack(36, 84),
+ Pack(41, 94),
Pack(46, 99),
Pack(50, 101),
Pack(52, 105),
- Pack(58, 103),
- Pack(64, 102),
- Pack(72, 101),
- Pack(77, 108),
- Pack(68, 92),
+ Pack(59, 102),
+ Pack(65, 101),
+ Pack(75, 98),
+ Pack(79, 106),
+ Pack(75, 88),
Pack(0, 0)
];
@@ -6190,260 +6192,260 @@ public static class EvaluationParams
Pack(0, 0),
Pack(12, 22),
Pack(16, 32),
- Pack(21, 36),
+ Pack(21, 37),
Pack(21, 45),
Pack(27, 51),
Pack(29, 58),
Pack(32, 61),
Pack(36, 66),
- Pack(37, 70),
+ Pack(37, 71),
Pack(39, 74),
Pack(40, 78),
Pack(47, 79),
Pack(55, 72),
- Pack(75, 63)
+ Pack(76, 63)
];
public static readonly TaperedEvaluationTermByCount27 QueenMobilityBonus =
[
Pack(0, 0),
- Pack(2, 192),
- Pack(-2, 301),
- Pack(1, 336),
- Pack(3, 355),
- Pack(7, 369),
- Pack(9, 386),
- Pack(10, 399),
- Pack(14, 406),
- Pack(15, 411),
- Pack(17, 418),
- Pack(20, 422),
- Pack(23, 424),
- Pack(23, 429),
- Pack(25, 432),
- Pack(26, 435),
- Pack(27, 440),
- Pack(33, 432),
- Pack(40, 429),
- Pack(57, 415),
- Pack(61, 409),
- Pack(108, 378),
- Pack(115, 371),
- Pack(131, 350),
- Pack(214, 313),
- Pack(223, 286),
- Pack(61, 381),
- Pack(-46, 405)
+ Pack(1, 197),
+ Pack(-3, 306),
+ Pack(-0, 341),
+ Pack(2, 360),
+ Pack(6, 374),
+ Pack(8, 392),
+ Pack(9, 404),
+ Pack(13, 412),
+ Pack(14, 417),
+ Pack(16, 423),
+ Pack(19, 427),
+ Pack(22, 429),
+ Pack(22, 435),
+ Pack(23, 437),
+ Pack(25, 440),
+ Pack(25, 446),
+ Pack(32, 437),
+ Pack(39, 434),
+ Pack(56, 420),
+ Pack(59, 415),
+ Pack(106, 384),
+ Pack(113, 377),
+ Pack(128, 357),
+ Pack(209, 321),
+ Pack(223, 291),
+ Pack(61, 385),
+ Pack(-47, 413)
];
public static readonly TaperedEvaluationTermByRank[] PassedPawnBonus =
[
[
Pack(0, 0),
- Pack(-37, -17),
- Pack(-18, -28),
- Pack(-15, -2),
- Pack(21, 23),
- Pack(23, 67),
- Pack(141, 181),
+ Pack(-38, -16),
+ Pack(-18, -27),
+ Pack(-16, -1),
+ Pack(22, 23),
+ Pack(24, 66),
+ Pack(143, 179),
],
[
Pack(0, 0),
Pack(-45, -29),
- Pack(-23, -28),
- Pack(-8, -6),
- Pack(13, 29),
- Pack(2, 66),
- Pack(143, 177),
+ Pack(-23, -27),
+ Pack(-9, -5),
+ Pack(13, 30),
+ Pack(2, 67),
+ Pack(142, 176),
],
[
Pack(0, 0),
- Pack(-37, -45),
- Pack(-39, -28),
- Pack(-6, -14),
- Pack(6, 15),
- Pack(9, 52),
- Pack(119, 198),
+ Pack(-37, -46),
+ Pack(-41, -25),
+ Pack(-7, -12),
+ Pack(5, 17),
+ Pack(9, 53),
+ Pack(119, 196),
],
[
Pack(0, 0),
- Pack(-32, -35),
- Pack(-41, -8),
- Pack(-8, -0),
- Pack(17, 32),
- Pack(20, 38),
- Pack(150, 168),
+ Pack(-32, -37),
+ Pack(-41, -7),
+ Pack(-7, 1),
+ Pack(16, 32),
+ Pack(17, 39),
+ Pack(148, 169),
],
[
Pack(0, 0),
- Pack(-36, -45),
- Pack(-37, -22),
- Pack(-7, -7),
- Pack(7, 19),
- Pack(3, 58),
- Pack(74, 197),
+ Pack(-36, -46),
+ Pack(-38, -18),
+ Pack(-6, -6),
+ Pack(5, 23),
+ Pack(2, 59),
+ Pack(75, 195),
],
[
Pack(0, 0),
- Pack(-36, -41),
- Pack(-33, -26),
- Pack(-9, 1),
- Pack(25, 16),
- Pack(22, 63),
+ Pack(-34, -43),
+ Pack(-34, -24),
+ Pack(-9, 2),
+ Pack(23, 18),
+ Pack(21, 65),
Pack(145, 161),
],
[
Pack(0, 0),
- Pack(-37, -48),
- Pack(-27, -35),
- Pack(-12, -5),
- Pack(19, 26),
- Pack(37, 69),
- Pack(112, 163),
+ Pack(-37, -46),
+ Pack(-28, -31),
+ Pack(-13, -2),
+ Pack(19, 28),
+ Pack(37, 71),
+ Pack(113, 163),
],
[
Pack(0, 0),
- Pack(-34, -39),
- Pack(-27, -25),
- Pack(-10, -3),
- Pack(28, 21),
- Pack(43, 60),
+ Pack(-35, -38),
+ Pack(-28, -20),
+ Pack(-12, 0),
+ Pack(28, 23),
+ Pack(43, 61),
Pack(142, 176),
],
[
Pack(0, 0),
- Pack(-75, -16),
- Pack(-35, -15),
- Pack(-29, 6),
- Pack(12, 25),
- Pack(53, 57),
- Pack(169, 150),
+ Pack(-74, -18),
+ Pack(-34, -16),
+ Pack(-28, 5),
+ Pack(13, 25),
+ Pack(55, 55),
+ Pack(170, 150),
],
[
Pack(0, 0),
- Pack(-45, -26),
- Pack(-39, -15),
- Pack(-26, 3),
- Pack(13, 24),
- Pack(47, 46),
- Pack(146, 180),
+ Pack(-43, -29),
+ Pack(-37, -17),
+ Pack(-24, 2),
+ Pack(14, 24),
+ Pack(46, 46),
+ Pack(144, 182),
],
[
Pack(0, 0),
- Pack(-28, -37),
- Pack(-60, -11),
- Pack(-29, 2),
- Pack(24, 19),
- Pack(11, 55),
- Pack(138, 175),
+ Pack(-25, -40),
+ Pack(-57, -13),
+ Pack(-27, 1),
+ Pack(23, 19),
+ Pack(10, 55),
+ Pack(137, 176),
],
[
Pack(0, 0),
- Pack(-49, -34),
- Pack(-44, -17),
- Pack(-23, 0),
+ Pack(-45, -37),
+ Pack(-42, -19),
+ Pack(-21, -1),
Pack(27, 15),
Pack(28, 60),
- Pack(115, 174),
+ Pack(113, 175),
],
[
Pack(0, 0),
- Pack(-39, -32),
- Pack(-44, -17),
- Pack(-20, 1),
- Pack(13, 24),
+ Pack(-38, -33),
+ Pack(-43, -18),
+ Pack(-19, 1),
+ Pack(13, 25),
Pack(46, 58),
Pack(151, 157),
],
[
Pack(0, 0),
- Pack(-48, -35),
- Pack(-43, -11),
+ Pack(-48, -36),
+ Pack(-42, -12),
Pack(-26, 6),
- Pack(23, 25),
- Pack(56, 57),
+ Pack(24, 26),
+ Pack(56, 58),
Pack(159, 148),
],
[
Pack(0, 0),
- Pack(-25, -35),
+ Pack(-24, -35),
Pack(-45, -9),
- Pack(-22, 7),
- Pack(33, 23),
+ Pack(-21, 7),
+ Pack(33, 24),
Pack(34, 63),
- Pack(158, 155),
+ Pack(159, 155),
],
[
Pack(0, 0),
- Pack(-93, -11),
- Pack(-38, -15),
- Pack(-38, 3),
- Pack(-36, 37),
- Pack(13, 67),
- Pack(109, 172),
+ Pack(-94, -12),
+ Pack(-36, -17),
+ Pack(-40, 3),
+ Pack(-36, 35),
+ Pack(11, 66),
+ Pack(110, 173),
],
[
Pack(0, 0),
- Pack(-200, 8),
- Pack(-90, -9),
- Pack(-31, 7),
- Pack(-74, 23),
- Pack(98, 36),
- Pack(159, 177),
+ Pack(-193, 3),
+ Pack(-95, -11),
+ Pack(-29, 6),
+ Pack(-74, 21),
+ Pack(92, 34),
+ Pack(158, 179),
],
[
Pack(0, 0),
- Pack(-54, -17),
- Pack(-73, -9),
- Pack(-48, 1),
- Pack(12, 16),
- Pack(100, 12),
- Pack(211, 161),
+ Pack(-52, -23),
+ Pack(-71, -12),
+ Pack(-48, -1),
+ Pack(7, 14),
+ Pack(96, 8),
+ Pack(213, 162),
],
[
Pack(0, 0),
- Pack(-46, -37),
- Pack(-99, -6),
- Pack(34, -11),
- Pack(26, 9),
- Pack(176, 5),
- Pack(229, 147),
+ Pack(-46, -41),
+ Pack(-93, -12),
+ Pack(32, -12),
+ Pack(23, 6),
+ Pack(171, 2),
+ Pack(232, 149),
],
[
Pack(0, 0),
- Pack(-56, -20),
- Pack(-45, -20),
- Pack(-11, -8),
- Pack(63, 6),
- Pack(103, 29),
- Pack(166, 153),
+ Pack(-53, -26),
+ Pack(-45, -24),
+ Pack(-11, -9),
+ Pack(60, 3),
+ Pack(100, 24),
+ Pack(165, 155),
],
[
Pack(0, 0),
- Pack(-69, -24),
- Pack(12, -32),
- Pack(-31, -1),
- Pack(-28, 21),
- Pack(117, 23),
- Pack(148, 148),
+ Pack(-65, -27),
+ Pack(11, -36),
+ Pack(-32, -2),
+ Pack(-26, 17),
+ Pack(114, 20),
+ Pack(149, 149),
],
[
Pack(0, 0),
- Pack(-95, -13),
- Pack(-71, -11),
- Pack(-93, 11),
- Pack(7, 4),
- Pack(127, 19),
- Pack(167, 166),
+ Pack(-93, -16),
+ Pack(-75, -13),
+ Pack(-93, 10),
+ Pack(4, 3),
+ Pack(125, 15),
+ Pack(167, 167),
],
[
Pack(0, 0),
- Pack(-85, -13),
- Pack(-24, -12),
+ Pack(-82, -15),
+ Pack(-26, -13),
Pack(-61, 13),
- Pack(-73, 23),
- Pack(-9, 60),
- Pack(77, 218),
+ Pack(-73, 22),
+ Pack(-7, 58),
+ Pack(77, 219),
],
];
@@ -6451,421 +6453,375 @@ public static class EvaluationParams
[
[
Pack(0, 0),
- Pack(-12, -6),
- Pack(-4, 16),
- Pack(-35, 29),
- Pack(-36, 36),
- Pack(-62, 75),
- Pack(-46, 110),
+ Pack(-12, -7),
+ Pack(-2, 15),
+ Pack(-34, 28),
+ Pack(-36, 35),
+ Pack(-63, 75),
+ Pack(-43, 108),
],
[
Pack(0, 0),
- Pack(2, -5),
+ Pack(3, -6),
Pack(-8, 11),
Pack(-27, 20),
- Pack(-21, 33),
+ Pack(-21, 32),
Pack(8, 62),
- Pack(-19, 111),
+ Pack(-18, 109),
],
[
Pack(0, 0),
- Pack(7, -2),
- Pack(-10, 1),
- Pack(-34, 25),
- Pack(-23, 40),
- Pack(-9, 93),
- Pack(28, 61),
+ Pack(8, -3),
+ Pack(-9, 1),
+ Pack(-33, 24),
+ Pack(-23, 41),
+ Pack(-9, 94),
+ Pack(29, 59),
],
[
Pack(0, 0),
- Pack(9, -6),
- Pack(-32, 7),
- Pack(-56, 23),
- Pack(-71, 44),
- Pack(-76, 106),
- Pack(-47, 91),
+ Pack(8, -6),
+ Pack(-31, 5),
+ Pack(-55, 23),
+ Pack(-72, 45),
+ Pack(-73, 105),
+ Pack(-48, 90),
],
[
Pack(0, 0),
- Pack(13, 6),
- Pack(4, 0),
+ Pack(14, 4),
+ Pack(5, -0),
Pack(-56, 28),
- Pack(-45, 50),
- Pack(-13, 79),
- Pack(12, 61),
+ Pack(-43, 49),
+ Pack(-12, 80),
+ Pack(13, 60),
],
[
Pack(0, 0),
- Pack(-9, 11),
+ Pack(-8, 10),
Pack(-24, 3),
- Pack(-47, 22),
- Pack(-70, 41),
+ Pack(-46, 21),
+ Pack(-69, 40),
Pack(7, 54),
- Pack(-33, 80),
+ Pack(-34, 80),
],
[
Pack(0, 0),
- Pack(-8, 8),
- Pack(-16, -1),
+ Pack(-7, 7),
+ Pack(-16, -2),
Pack(-29, 16),
- Pack(-29, 36),
- Pack(-6, 68),
- Pack(21, 86),
+ Pack(-28, 36),
+ Pack(-5, 67),
+ Pack(21, 85),
],
[
Pack(0, 0),
- Pack(-15, 21),
- Pack(-16, 2),
+ Pack(-15, 20),
+ Pack(-16, 1),
Pack(-25, 12),
- Pack(-33, 37),
+ Pack(-32, 37),
Pack(-25, 88),
- Pack(-11, 83),
+ Pack(-10, 80),
],
[
Pack(0, 0),
Pack(-16, 1),
- Pack(-38, 16),
- Pack(-44, 36),
- Pack(-51, 53),
- Pack(-70, 100),
- Pack(44, 106),
+ Pack(-37, 16),
+ Pack(-43, 35),
+ Pack(-50, 52),
+ Pack(-71, 101),
+ Pack(45, 105),
],
[
Pack(0, 0),
Pack(-14, -2),
- Pack(-58, 12),
- Pack(-61, 34),
- Pack(-89, 58),
- Pack(-98, 114),
- Pack(7, 79),
+ Pack(-55, 11),
+ Pack(-60, 33),
+ Pack(-88, 57),
+ Pack(-98, 113),
+ Pack(11, 76),
],
[
Pack(0, 0),
- Pack(-24, 5),
- Pack(-39, 12),
- Pack(-86, 40),
- Pack(-83, 55),
- Pack(-66, 97),
- Pack(39, 66),
+ Pack(-23, 5),
+ Pack(-37, 11),
+ Pack(-85, 39),
+ Pack(-82, 54),
+ Pack(-65, 97),
+ Pack(40, 65),
],
[
Pack(0, 0),
- Pack(-33, 8),
- Pack(-49, 12),
- Pack(-81, 37),
- Pack(-82, 51),
- Pack(-67, 87),
- Pack(61, 57),
+ Pack(-32, 7),
+ Pack(-48, 11),
+ Pack(-79, 36),
+ Pack(-80, 49),
+ Pack(-66, 86),
+ Pack(62, 57),
],
[
Pack(0, 0),
- Pack(-37, 13),
- Pack(-27, 8),
- Pack(-73, 33),
- Pack(-60, 41),
- Pack(-64, 74),
- Pack(16, 63),
+ Pack(-36, 12),
+ Pack(-27, 7),
+ Pack(-72, 32),
+ Pack(-59, 40),
+ Pack(-63, 73),
+ Pack(16, 62),
],
[
Pack(0, 0),
- Pack(-26, 11),
- Pack(-30, 3),
- Pack(-40, 24),
- Pack(-56, 43),
- Pack(-23, 75),
- Pack(30, 63),
+ Pack(-25, 11),
+ Pack(-29, 2),
+ Pack(-39, 23),
+ Pack(-55, 42),
+ Pack(-23, 74),
+ Pack(31, 63),
],
[
Pack(0, 0),
- Pack(-57, 10),
- Pack(-26, -1),
- Pack(-33, 18),
- Pack(-56, 42),
- Pack(-28, 67),
+ Pack(-56, 9),
+ Pack(-25, -2),
+ Pack(-33, 17),
+ Pack(-55, 40),
+ Pack(-28, 66),
Pack(39, 64),
],
[
Pack(0, 0),
- Pack(-26, 5),
- Pack(-26, 18),
- Pack(-26, 39),
- Pack(-53, 63),
- Pack(-61, 108),
- Pack(-26, 120),
+ Pack(-23, 4),
+ Pack(-27, 17),
+ Pack(-24, 38),
+ Pack(-52, 62),
+ Pack(-64, 107),
+ Pack(-21, 117),
],
[
Pack(0, 0),
Pack(84, -18),
- Pack(105, -7),
- Pack(-29, 41),
- Pack(-31, 80),
- Pack(-185, 139),
- Pack(-84, 128),
+ Pack(108, -7),
+ Pack(-31, 41),
+ Pack(-29, 78),
+ Pack(-180, 139),
+ Pack(-83, 127),
],
[
Pack(0, 0),
- Pack(-70, 8),
- Pack(66, -18),
- Pack(26, 35),
- Pack(-46, 72),
- Pack(-138, 144),
- Pack(-65, 125),
+ Pack(-64, 8),
+ Pack(63, -17),
+ Pack(26, 34),
+ Pack(-41, 71),
+ Pack(-138, 145),
+ Pack(-64, 125),
],
[
Pack(0, 0),
- Pack(-24, 14),
- Pack(6, 3),
- Pack(-32, 40),
- Pack(-44, 68),
- Pack(-256, 150),
- Pack(-35, 111),
+ Pack(-23, 15),
+ Pack(5, 3),
+ Pack(-31, 39),
+ Pack(-38, 66),
+ Pack(-260, 149),
+ Pack(-38, 111),
],
[
Pack(0, 0),
- Pack(-78, 22),
- Pack(40, 4),
- Pack(-27, 30),
- Pack(-139, 79),
- Pack(-161, 119),
- Pack(-23, 101),
+ Pack(-74, 23),
+ Pack(47, 2),
+ Pack(-25, 29),
+ Pack(-139, 77),
+ Pack(-160, 118),
+ Pack(-21, 100),
],
[
Pack(0, 0),
- Pack(-14, 10),
- Pack(30, 13),
- Pack(-34, 32),
- Pack(-76, 67),
- Pack(-189, 130),
- Pack(-10, 110),
+ Pack(-14, 11),
+ Pack(36, 12),
+ Pack(-36, 32),
+ Pack(-73, 65),
+ Pack(-190, 129),
+ Pack(-11, 109),
],
[
Pack(0, 0),
- Pack(-40, 1),
- Pack(65, -8),
- Pack(37, 16),
- Pack(-105, 75),
- Pack(-196, 122),
- Pack(-45, 100),
+ Pack(-37, 1),
+ Pack(67, -10),
+ Pack(40, 15),
+ Pack(-102, 72),
+ Pack(-197, 123),
+ Pack(-44, 99),
],
[
Pack(0, 0),
- Pack(8, -8),
- Pack(-46, -2),
- Pack(-68, 22),
- Pack(-30, 64),
- Pack(-180, 101),
- Pack(8, 55),
+ Pack(10, -9),
+ Pack(-45, -3),
+ Pack(-68, 20),
+ Pack(-30, 61),
+ Pack(-189, 101),
+ Pack(7, 54),
],
];
- public static readonly TaperedEvaluationTermByRank[] PawnPhalanxBonus =
+ public static readonly int[][] PieceProtectedByPawnBonus =
[
[
- Pack(0, 0),
- Pack(7, -4),
- Pack(17, 4),
- Pack(28, 22),
- Pack(66, 41),
- Pack(103, 205),
- Pack(15, 69),
+ Pack(20, 16),
+ Pack(-2, 12),
+ Pack(3, 25),
+ Pack(1, 16),
+ Pack(-20, 27),
],
[
- Pack(0, 0),
- Pack(2, 2),
- Pack(19, 19),
- Pack(26, 39),
- Pack(49, 86),
- Pack(183, 177),
- Pack(30, 98),
+ Pack(21, 22),
+ Pack(-2, 22),
+ Pack(3, 37),
+ Pack(5, 13),
+ Pack(-7, 15),
],
[
- Pack(0, 0),
- Pack(5, 10),
- Pack(23, 7),
- Pack(27, 25),
- Pack(65, 61),
- Pack(211, 224),
- Pack(28, 116),
+ Pack(19, 25),
+ Pack(2, 13),
+ Pack(7, 22),
+ Pack(8, -0),
+ Pack(-7, 24),
],
[
- Pack(0, 0),
- Pack(4, 12),
- Pack(17, 21),
- Pack(13, 17),
- Pack(37, 30),
- Pack(106, 205),
- Pack(61, 79),
+ Pack(20, 18),
+ Pack(2, 2),
+ Pack(7, 29),
+ Pack(7, 12),
+ Pack(-31, 33),
],
[
- Pack(0, 0),
- Pack(7, 11),
- Pack(24, 10),
- Pack(18, 28),
- Pack(32, 69),
- Pack(153, 238),
- Pack(42, 122),
+ Pack(19, 27),
+ Pack(5, 21),
+ Pack(7, 31),
+ Pack(7, 6),
+ Pack(-8, 15),
],
[
- Pack(0, 0),
- Pack(-11, 17),
- Pack(17, 12),
- Pack(15, 31),
- Pack(37, 75),
- Pack(28, 278),
- Pack(46, 184),
+ Pack(20, 17),
+ Pack(2, 15),
+ Pack(13, 21),
+ Pack(2, 8),
+ Pack(-19, 28),
],
[
- Pack(0, 0),
- Pack(4, -4),
- Pack(23, 1),
- Pack(32, 24),
- Pack(65, 83),
- Pack(245, 329),
- Pack(99, 181),
+ Pack(21, 30),
+ Pack(-1, 19),
+ Pack(4, 33),
+ Pack(4, 12),
+ Pack(-9, 21),
],
[
- Pack(0, 0),
- Pack(4, -0),
- Pack(26, -6),
- Pack(39, 14),
- Pack(91, 65),
- Pack(202, 194),
- Pack(5, 47),
+ Pack(22, 30),
+ Pack(-1, 23),
+ Pack(7, 33),
+ Pack(5, 14),
+ Pack(-13, 30),
],
[
- Pack(0, 0),
- Pack(-1, 10),
- Pack(20, 10),
- Pack(15, 23),
- Pack(62, 73),
- Pack(86, 159),
- Pack(52, 181),
+ Pack(29, 10),
+ Pack(2, 23),
+ Pack(29, 11),
+ Pack(3, 13),
+ Pack(-11, 16),
],
[
- Pack(0, 0),
- Pack(-5, 15),
- Pack(11, 22),
- Pack(-0, 38),
- Pack(22, 90),
- Pack(29, 224),
- Pack(-4, 195),
+ Pack(33, 6),
+ Pack(-4, 12),
+ Pack(49, 1),
+ Pack(-9, 22),
+ Pack(-23, 45),
],
[
- Pack(0, 0),
- Pack(-6, 13),
- Pack(5, 22),
- Pack(7, 39),
- Pack(39, 91),
- Pack(99, 249),
- Pack(-6, 140),
+ Pack(30, 8),
+ Pack(14, 4),
+ Pack(33, 2),
+ Pack(-8, 16),
+ Pack(-14, 27),
],
[
- Pack(0, 0),
- Pack(-10, 14),
- Pack(15, 21),
- Pack(6, 36),
- Pack(43, 95),
- Pack(43, 235),
- Pack(56, 277),
+ Pack(31, 8),
+ Pack(2, 8),
+ Pack(41, 3),
+ Pack(-16, 19),
+ Pack(3, 12),
],
[
- Pack(0, 0),
- Pack(3, 6),
- Pack(18, 16),
- Pack(16, 32),
- Pack(41, 92),
- Pack(135, 243),
- Pack(88, 311),
+ Pack(26, 12),
+ Pack(9, 10),
+ Pack(30, 9),
+ Pack(-2, 15),
+ Pack(-10, 22),
],
[
- Pack(0, 0),
- Pack(11, 7),
- Pack(13, 12),
- Pack(28, 24),
- Pack(57, 76),
- Pack(166, 222),
- Pack(43, 281),
+ Pack(24, 14),
+ Pack(4, 14),
+ Pack(10, 22),
+ Pack(-3, 16),
+ Pack(-17, 23),
],
[
- Pack(0, 0),
- Pack(1, 2),
- Pack(24, 9),
- Pack(31, 22),
- Pack(75, 69),
- Pack(109, 260),
- Pack(66, 385),
+ Pack(23, 14),
+ Pack(-7, 19),
+ Pack(6, 26),
+ Pack(-2, 17),
+ Pack(-19, 31),
],
[
- Pack(0, 0),
- Pack(1, 13),
- Pack(6, 13),
- Pack(51, 2),
- Pack(37, 57),
- Pack(141, 161),
- Pack(-8, 99),
+ Pack(19, 10),
+ Pack(10, 18),
+ Pack(36, 6),
+ Pack(-25, 34),
+ Pack(-74, 65),
],
[
- Pack(0, 0),
- Pack(35, 10),
- Pack(-11, 9),
- Pack(69, -11),
- Pack(-52, 72),
- Pack(-37, 192),
- Pack(-15, 51),
+ Pack(42, 0),
+ Pack(67, 11),
+ Pack(105, -5),
+ Pack(-24, 24),
+ Pack(-14, 79),
],
[
- Pack(0, 0),
- Pack(-24, 29),
- Pack(1, 6),
- Pack(-7, 16),
- Pack(25, 63),
- Pack(-2, 133),
- Pack(-5, 154),
+ Pack(37, -0),
+ Pack(82, 11),
+ Pack(127, 1),
+ Pack(-42, 41),
+ Pack(-105, 74),
],
[
- Pack(0, 0),
- Pack(-1, 4),
- Pack(-24, 30),
- Pack(51, 12),
- Pack(15, 64),
- Pack(-5, 197),
- Pack(6, 63),
+ Pack(22, -3),
+ Pack(117, 1),
+ Pack(162, -9),
+ Pack(-69, 51),
+ Pack(-102, 84),
],
[
- Pack(0, 0),
- Pack(-24, 13),
- Pack(-60, 23),
- Pack(-46, 17),
- Pack(29, 69),
- Pack(43, 149),
- Pack(33, 150),
+ Pack(36, -7),
+ Pack(94, 1),
+ Pack(184, -16),
+ Pack(-22, 27),
+ Pack(-73, 82),
],
[
- Pack(0, 0),
- Pack(2, 1),
- Pack(20, -6),
- Pack(55, -4),
- Pack(-53, 66),
- Pack(-14, 105),
- Pack(-13, 58),
+ Pack(35, -3),
+ Pack(54, 27),
+ Pack(132, -12),
+ Pack(-23, 39),
+ Pack(-55, 62),
],
[
- Pack(0, 0),
- Pack(-25, 7),
- Pack(15, -2),
- Pack(12, 8),
- Pack(-40, 68),
- Pack(-43, 152),
- Pack(17, 118),
+ Pack(31, 2),
+ Pack(-55, 48),
+ Pack(92, 8),
+ Pack(-6, 29),
+ Pack(-37, 35),
],
[
- Pack(0, 0),
- Pack(-43, 12),
- Pack(13, 0),
- Pack(36, 16),
- Pack(-62, 100),
- Pack(-14, 130),
- Pack(7, 23),
+ Pack(37, 3),
+ Pack(-24, 27),
+ Pack(49, 8),
+ Pack(3, 14),
+ Pack(8, -16),
],
];