chessforyou Bettina&Terry77
chessforyou Bettina&Terry77
chessforyou Bettina&Terry77
Would you like to react to this message? Create an account in a few clicks or log in to continue.

chessforyou Bettina&Terry77


 
HomeLatest imagesRegisterLog in
WELCOME TO FORUM OF Angels77 * named in memory of Bettina & Terry
Search
 
 

Display results as :
 
Rechercher Advanced Search
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Forum
Forum
Affiliates
free forum
 


Affiliates
free forum
 



 

 Polyglot 2.03 BIN Updated

Go down 
AuthorMessage
st peter
V.I.P.MEMBER
V.I.P.MEMBER
st peter


Male Posts : 733
Reputation : 1286
Join date : 2011-06-06
Location : Earth

Polyglot 2.03 BIN Updated Empty
PostSubject: Polyglot 2.03 BIN Updated   Polyglot 2.03 BIN Updated EmptySun Mar 13, 2016 2:15 pm

Updated 12/03/16 - by Michael Byrne, 50 move rule is an option , turned on by default, add this to the polyglot section to disable the 50 move rule.

Code:
diff -rupN polyglot-2.03/game.c polyglot-2.03p/game.c
--- polyglot-2.03/game.c  2015-10-20 12:09:00.000000000 -0400
+++ polyglot-2.03p/game.c  2016-03-13 01:04:36.000000000 -0500
@@ -12,6 +12,7 @@
 #include "move_do.h"
 #include "move_legal.h"
 #include "piece.h"
+#include "option.h"
 #include "square.h"
 #include "util.h"
 
@@ -337,8 +338,10 @@ static int game_comp_status(const game_t
    }
 
    // 50-move rule
+   
 
-  if (board->ply_nb >= 100) return DRAW_FIFTY;
+
+      if (board->ply_nb >= 100  && option_get_bool(Option,"50MoveRule")) return DRAW_FIFTY;
 
    // position repetition
 
 
diff -rupN polyglot-2.03/option.c polyglot-2.03p/option.c
--- polyglot-2.03/option.c  2015-10-20 12:09:00.000000000 -0400
+++ polyglot-2.03p/option.c  2016-03-13 00:51:24.000000000 -0500
@@ -51,7 +51,8 @@ option_t DefaultOptions[] = {   
    { "HandleDraws",      "check","0","0",      "false"    , NULL,0,NNB,  PG|XBOARD|XBSEL},
    { "ContemptScore",    "spin","0","10000",  "30"        , NULL,0,NNB,  PG|XBOARD|XBSEL},
 
-    { "MateScore",        "spin","0","100000",  "0"        , NULL,0,NNB,  PG|XBOARD},
+    { "50MoveRule",      "check","0","0",      "true"      , NULL,0,NNB,  PG|XBOARD},
 
    { "Book",            "check","0","0",      "false"    , NULL,0,NNB,  PG|XBOARD|XBSEL|UCI},
    { "BookFile",        "file","0","0",      "book.bin"  , NULL,0,NNB,  PG|XBOARD|XBSEL|UCI},

Download
Back to top Go down
 
Polyglot 2.03 BIN Updated
Back to top 
Page 1 of 1
 Similar topics
-
» Stockfish Polyglot: Updated May, 2
» Stockfish Polyglot: Updated January, 22 2019
»  Stockfish Polyglot: Updated September, 15 2018
» Stockfish Polyglot: Updated Ocber, 21 2018
»  Stockfish Polyglot: Updated June, 4 2019

Permissions in this forum:You cannot reply to topics in this forum
chessforyou Bettina&Terry77 :: Books :: Opening books ctg :: all other opening book formats-
Jump to: