Qs see #68
No files matched your search
@@ -51,8 +51,6 @@ int main(int argc, char* argv[]) {
|
|||||||
|
|
||||||
Board board;
|
Board board;
|
||||||
|
|
||||||
//TEST::SEE();
|
|
||||||
|
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
if (std::string(argv[1]) == "bench") {
|
if (std::string(argv[1]) == "bench") {
|
||||||
RunBenchmark();
|
RunBenchmark();
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ constexpr int inf = 100000;
|
|||||||
inline int lmrTable[MAX_DEPTH+1][MAX_MOVES];
|
inline int lmrTable[MAX_DEPTH+1][MAX_MOVES];
|
||||||
|
|
||||||
constexpr std::array<int, 6> SEEPieceValues = {
|
constexpr std::array<int, 6> SEEPieceValues = {
|
||||||
100, 300, 300, 500, 900, 0
|
100, 300, 350, 500, 900, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
void InitLMRTable();
|
void InitLMRTable();
|
||||||
|
|||||||
@@ -21,6 +21,13 @@ void SEE() {
|
|||||||
std::string fen = tokens[0];
|
std::string fen = tokens[0];
|
||||||
board.SetByFen(fen);
|
board.SetByFen(fen);
|
||||||
|
|
||||||
|
// Trim whitespaces
|
||||||
|
tokens[1].erase(0, tokens[1].find_first_not_of(" \t\r\n"));
|
||||||
|
tokens[1].erase(tokens[1].find_last_not_of(" \t\r\n") + 1);
|
||||||
|
|
||||||
|
tokens[2].erase(0, tokens[2].find_first_not_of(" \t\r\n"));
|
||||||
|
tokens[2].erase(tokens[2].find_last_not_of(" \t\r\n") + 1);
|
||||||
|
|
||||||
Move move = UTILS::parseMove(board, tokens[1]);
|
Move move = UTILS::parseMove(board, tokens[1]);
|
||||||
|
|
||||||
int gain = std::stoi(tokens[2]);
|
int gain = std::stoi(tokens[2]);
|
||||||
|
|||||||
Reference in new issue
Block a user