\r
char *array, *IDs, fenArray[4000], startPos[4000], *reason, checkStack[300];\r
int bWidth, bHeight, bsize, zone, currentVariant, chuFlag, tenFlag, chessFlag, repDraws, stalemate;\r
-int tsume, pvCuts, allowRep, entryProm, okazaki, pVal;\r
+int tsume, pvCuts, allowRep, entryProm=1, okazaki, pVal;\r
int stm, xstm, hashKeyH=1, hashKeyL=1, framePtr, msp, nonCapts, rootEval, filling, promoDelta;\r
int retMSP, retFirst, retDep, pvPtr, level, cnt50, mobilityScore;\r
int ll, lr, ul, ur; // corner squares\r
printf("%s%s", (i ? "," : "feature variants=\""), variants[i].name); printf("\"\n");\r
printf("feature ping=1 setboard=1 colors=0 usermove=1 memory=1 debug=1 sigint=0 sigterm=0\n");\r
printf("feature myname=\"HaChu " VERSION "\" highlight=1\n");\r
- printf("feature option=\"Full analysis PV -check 1\"\n"); // example of an engine-defined option\r
- printf("feature option=\"Allow repeats -check 0\"\n");\r
- printf("feature option=\"Promote on entry -check 0\"\n");\r
- printf("feature option=\"Okazaki rule -check 0\"\n");\r
- printf("feature option=\"Resign -check 0\"\n"); // \r
- printf("feature option=\"Contempt -spin 0 -200 200\"\n"); // and another one\r
+ printf("feature option=\"Full analysis PV -check %d\"\n", noCut); // example of an engine-defined option\r
+ printf("feature option=\"Allow repeats -check %d\"\n", allowRep);\r
+ printf("feature option=\"Promote on entry -check %d\"\n", entryProm);\r
+ printf("feature option=\"Okazaki rule -check %d\"\n", okazaki);\r
+ printf("feature option=\"Resign -check %d\"\n", resign); // \r
+ printf("feature option=\"Contempt -spin %d -200 200\"\n", contemptFactor); // and another one\r
printf("feature option=\"Tsume -combo no /// Sente mates /// Gote mates\"\n");\r
printf("feature done=1\n");\r
continue;\r