#pragma once #include "config.h" #define BOARD_ROW_UNITS ((BOARD_WIDTH * 2) + 1) #define BOARD_UNITS BOARD_ROW_UNITS * BOARD_ROW_UNITS typedef struct { char feature; int meeple; int structure_group; } BoardUnit; static const char EMPTY = ' '; static const char ANY = '*'; static const char SEPARATOR = '+'; static const char PREVIEW_AVAILABLE = '@'; static const int NEIGHBOR_INCREMENTS[] = { -BOARD_ROW_UNITS, 1, BOARD_ROW_UNITS, -1 }; void initialize_board(BoardUnit* board); int translate_coordinate(int index); int is_center_index(int index);