diff --git a/bin/ceechess-linux b/bin/ceechess-linux new file mode 100644 index 0000000..2900140 Binary files /dev/null and b/bin/ceechess-linux differ diff --git a/src/makefile b/src/makefile index c7a3039..05a0190 100644 --- a/src/makefile +++ b/src/makefile @@ -1,6 +1,10 @@ # for linux compile, type make linux -# fixed by servusDei2018 +# fixed by servusDei2018, hamzainaan all: gcc xboard.c CeeChess.c uci.c evaluate.c eval.h pvtable.c init.c bitboards.c hashkeys.c board.c data.c attack.c io.c movegen.c validate.c makemove.c perft.c search.c misc.c -o CeeChess-v1.3.2.exe -O3 -s linux: - gcc xboard.c CeeChess.c uci.c evaluate.c eval.h pvtable.c init.c bitboards.c hashkeys.c board.c data.c attack.c io.c movegen.c validate.c makemove.c perft.c search.c misc.c -o CeeChess-v1.3.2.exe -O3 -s -lm + gcc xboard.c CeeChess.c uci.c evaluate.c eval.h pvtable.c init.c bitboards.c hashkeys.c board.c data.c attack.c io.c movegen.c validate.c makemove.c perft.c search.c misc.c -o CeeChess-v1.3.2-linux -O3 -s -lm + +clean: + rm CeeChess-v1.3.2.exe + rm CeeChess-v1.3.2-linux diff --git a/src/search.c b/src/search.c index 2d41773..e4a1bd7 100644 --- a/src/search.c +++ b/src/search.c @@ -27,9 +27,10 @@ int LMRTable[64][64]; void InitSearch() { // creating the LMR table entries (idea from Ethereal) + // updated the value from 1.75 to 2.25 for (int moveDepth = 1; moveDepth < 64; moveDepth++) for (int played = 1; played < 64; played++) - LMRTable[moveDepth][played] = 1 + (log(moveDepth) * log(played) / 1.75); + LMRTable[moveDepth][played] = 1 + (log(moveDepth) * log(played) / 2.25); } static void CheckUp(S_SEARCHINFO *info) {