Skip to content

Commit

Permalink
Use TT score whenever possible (+4 tokens)
Browse files Browse the repository at this point in the history
Score of Dev vs Main: 266 - 199 - 413  [0.538] 878
...      Dev playing White: 134 - 97 - 208  [0.542] 439
...      Dev playing Black: 132 - 102 - 205  [0.534] 439
...      White vs Black: 236 - 229 - 413  [0.504] 878
Elo difference: 26.6 +/- 16.7, LOS: 99.9 %, DrawRatio: 47.0 %
SPRT: llr 2.97 (101.0%), lbound -2.94, ubound 2.94 - H1 was accepted
  • Loading branch information
codedeliveryservice committed Sep 17, 2023
1 parent 2e79f27 commit ecacbf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Chess-Challenge/src/My Bot/MyBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ private int AlphaBeta(int depth, int alpha, int beta, bool nullMoveAllowed = tru
ttMove = default;
else if (!root && ttDepth >= depth && (ttFlag != 3 && ttScore >= beta || ttFlag != 2 && ttScore <= alpha))
return ttScore;
else
staticScore = ttScore;

bool pvNode = alpha != beta - 1;

Expand Down

0 comments on commit ecacbf2

Please sign in to comment.