encapsulated TT | bench 1857933
This commit is contained in:
1 parent
c08c545335
commit
53f6ae17bc
7 files changed
+43
-49
No files matched your search
+3
-2
@@ -103,11 +103,12 @@ void PlayGame(std::atomic<int>& positions, U64 targetPositions, std::vector<Game
|
||||
try {
|
||||
PlayRandMoves(board);
|
||||
int staticEval = HCE::Evaluate(board);
|
||||
SEARCH::SearchResults safeResults;
|
||||
SearchResults safeResults;
|
||||
MOVEGEN::GenerateMoves<All>(board);
|
||||
|
||||
while (!IsGameOver(board, ctx)) {
|
||||
SEARCH::SearchResults results = SEARCH::SearchPosition<SEARCH::datagen>(board, SearchParams(), ctx);
|
||||
SearchResults results = SEARCH::SearchPosition<SEARCH::datagen>(board, SearchParams(), ctx);
|
||||
results = SEARCH::SearchPosition<SEARCH::datagen>(board, SearchParams(), ctx);
|
||||
|
||||
if (!results.bestMove) break;
|
||||
safeResults = results;
|
||||
|
||||
Reference in new issue
Block a user