Bonus for pieces in hand
authorianfab <ianfab@users.noreply.github.com>
Sat, 25 Aug 2018 17:32:26 +0000 (19:32 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Mon, 10 Sep 2018 22:08:28 +0000 (00:08 +0200)
STC crazyhouse
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 5728 W: 2892 L: 2709 D: 127
http://35.161.250.236:6543/tests/view/5b8192f96e23db0fbab0dcd9

src/psqt.cpp

index 33ab404..7e6a501 100644 (file)
@@ -132,7 +132,7 @@ void init() {
           psq[~pc][~s] = -psq[pc][s];
       }
       // pieces in pocket
-      psq[ pc][SQ_NONE] = score;
+      psq[ pc][SQ_NONE] = score + make_score(20, 20);
       psq[~pc][SQ_NONE] = -psq[pc][SQ_NONE];
   }
 }