summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 52724cf..2174f97 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();