This commit is contained in:
RogueMaster
2022-11-11 17:05:30 -05:00
parent 8c11ed19a6
commit 3efc8ff3c0
117 changed files with 3537 additions and 3298 deletions
+3 -3
View File
@@ -2357,7 +2357,7 @@ Node iterativeDeepeningAlphaBeta(Position* position, char depth, int alpha, int
int score = iterativeDeepeningAlphaBeta(&newPosition, depth - 1, alpha, beta, FALSE).score;
if(verbose) {
printf("%.2f\n", (double) score / (double) 100.00);
printf("%.2f\n", (double)score / (double)100.00);
fflush(stdout);
}
@@ -2850,8 +2850,8 @@ Move getAIMove(Game* game, int depth) {
printf(
" in %d seconds [%+.2f, %+.2f]\n",
(int)(endTime - startTime),
(double) staticEvaluation(&game->position) / (double) 100.0,
(double) node.score / (double) 100.0);
(double)staticEvaluation(&game->position) / (double)100.0,
(double)node.score / (double)100.0);
fflush(stdout);
return node.move;