aboutsummaryrefslogtreecommitdiff
path: root/src/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/board.c')
-rw-r--r--src/board.c3
1 files changed, 0 insertions, 3 deletions
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;
}