added Iterative Deepening with very basic time management

This commit is contained in:
rektdie committed 2024-10-14 15:07:58 +02:00
1 parent abe07eb844
commit fde3e281b0
4 files changed
+87 -19

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
#pragma once
#include "board.h"
#include "uci.h"
class SearchResults {
public:
@@ -18,7 +19,7 @@ public:
}
};
void SearchPosition(Board &board, int depth);
void SearchPosition(Board &board, SearchParams &params);
constexpr int moveScoreTable[6][6] = {
105, 205, 305, 405, 505, 605,