From 5f583e476f3f711a581f417319670ee401a716c4 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 10 Apr 2022 21:19:09 +0300 Subject: feat: add meeple placement --- src/board.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/board.c') diff --git a/src/board.c b/src/board.c index cc16e06..0e66f16 100644 --- a/src/board.c +++ b/src/board.c @@ -94,7 +94,6 @@ int evaluate_structure(int index, BoardUnit* board) { char feature = board[index].feature; int structure_group = board[index].structure_group; - printf("Evaluating group %i (%c)\n", structure_group, feature); for (int i = 0; i < BOARD_WIDTH; i++) { for (int j = 0; j < BOARD_WIDTH; j++) { @@ -102,7 +101,6 @@ int evaluate_structure(int index, BoardUnit* board) { if (board[index].feature != EMPTY) { // Empty tiles doesn't count for (int k = 0; k < 4; k++) { if (board[index + NEIGHBOR_INCREMENTS[k]].structure_group == structure_group) { - printf("Found at tile %i\n", i * BOARD_WIDTH + j); value++; break; } @@ -111,6 +109,5 @@ int evaluate_structure(int index, BoardUnit* board) { } } - printf("Value: %i\n", value); return value; } -- cgit v1.2.3