Tweak KSFK endgame
authorFabian Fichter <ianfab@users.noreply.github.com>
Fri, 5 Jun 2020 21:53:05 +0000 (23:53 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Fri, 5 Jun 2020 21:53:05 +0000 (23:53 +0200)
src/endgame.cpp

index b470161..1da13dd 100644 (file)
@@ -57,12 +57,12 @@ namespace {
   // Table used to drive the king towards the edge of the board
   // in KSF vs K.
   constexpr int PushToOpposingSideEdges[SQUARE_NB] = {
-     30, 10,  5,  0,  0,  5, 10,  30,
-     40, 20,  5,  0,  0,  5, 20,  40,
-     50, 30, 10,  0,  0, 10, 30,  50,
-     60, 40, 20, 10, 10, 20, 40,  60,
-     70, 50, 30, 20, 20, 30, 50,  70,
-     80, 60, 40, 30, 30, 40, 60,  80,
+     20, 10,  5,  0,  0,  5, 10,  20,
+     20, 10,  5,  0,  0,  5, 10,  20,
+     30, 20, 10,  0,  0, 10, 20,  30,
+     50, 40, 20, 10, 10, 20, 40,  50,
+     60, 50, 40, 30, 30, 40, 50,  60,
+     70, 60, 50, 40, 40, 50, 60,  70,
      90, 70, 60, 50, 50, 60, 70,  90,
     100, 90, 80, 70, 70, 80, 90, 100
   };