Skip to content

Commit 34a30d1

Browse files
authored
Merge pull request #8 from bctboi23/Pruning-improvement
More agressive search parameters
2 parents e9f9d4a + 6430a24 commit 34a30d1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bin/CeeChess-v1.3.exe

-84.5 KB
Binary file not shown.

src/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
all:
2-
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.1.exe -O3 -s
2+
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

src/search.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ static const int FutilityDepth = 6;
1717
static const int FutilityMargin[7] = {0, 200, 325, 450, 575, 700, 825};
1818

1919
// Reverse Futility Values
20-
static const int RevFutilityDepth = 4;
21-
static const int RevFutilityMargin[5] = {0, 250, 500, 750, 1000};
20+
static const int RevFutilityDepth = 5;
21+
static const int RevFutilityMargin[6] = {0, 200, 400, 600, 800, 1000};
2222

2323
// LMR Values
2424
static const int LateMoveDepth = 3;
25-
static const int FullSearchMoves = 4;
25+
static const int FullSearchMoves = 2;
2626
int LMRTable[64][64];
2727

2828
void InitSearch() {
2929
// creating the LMR table entries (idea from Ethereal)
3030
for (int moveDepth = 1; moveDepth < 64; moveDepth++)
3131
for (int played = 1; played < 64; played++)
32-
LMRTable[moveDepth][played] = 1 + (log(moveDepth) * log(played) / 1.7);
32+
LMRTable[moveDepth][played] = 1 + (log(moveDepth) * log(played) / 1.75);
3333
}
3434

3535
static void CheckUp(S_SEARCHINFO *info) {

0 commit comments

Comments
 (0)