Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added bin/ceechess-linux
Binary file not shown.
8 changes: 6 additions & 2 deletions src/makefile
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down