ordering TT moves first

This commit is contained in:
rektdie committed 2025-03-02 05:04:56 +01:00
1 parent 272fa9a04c
commit 17a0d70db0
3 files changed
+12 -5

No files matched your search

+2 -1
View File
@@ -25,9 +25,10 @@ public:
int depth;
int score;
int nodeType;
Move bestMove;
};
extern TTEntry TTable[hashSize];
SearchResults ReadEntry(U64 &hashKey, int depth, int alpha, int beta);
void WriteEntry(U64 &hashKey, int depth, int score, int nodeType);
void WriteEntry(U64 &hashKey, int depth, int score, int nodeType, Move besteMove);