added Iterative Deepening with very basic time management
This commit is contained in:
1 parent
abe07eb844
commit
fde3e281b0
4 files changed
+87
-19
No files matched your search
+2
-1
@@ -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 ¶ms);
|
||||
|
||||
constexpr int moveScoreTable[6][6] = {
|
||||
105, 205, 305, 405, 505, 605,
|
||||
|
||||
Reference in new issue
Block a user