diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h | 3 | ||||
-rw-r--r-- | src/main.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index 1cadbc1..67c9b0b 100644 --- a/src/config.h +++ b/src/config.h @@ -1,4 +1,5 @@ #define BOARD_SIZE 8 #define DEFAULT_FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" -#define MAX_DEPTH 3 +#define MAX_DEPTH 4 #define INFINITY 1000000 +#define PLAYER WHITE @@ -480,13 +480,13 @@ int main() { int color = WHITE; while (1) { - if (color == BLACK) { + if (color == PLAYER) { printf("Current score is %i\n", compute_score(board)); printf("White coverage: %i, black coverage: %i\n", compute_coverage(board, WHITE), compute_coverage(board, BLACK)); printf("Enter a move for %s:\n", COLORS[color]); input_move(move); } else { - printf("Evaluating move for black...\n"); + printf("Evaluating move for %s...\n", COLORS[color]); clock_t start, end; int metrics = 0; start = clock(); |