diff options
Diffstat (limited to 'src/board.h')
-rw-r--r-- | src/board.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/board.h b/src/board.h index ad46098..a2e6793 100644 --- a/src/board.h +++ b/src/board.h @@ -1,9 +1,8 @@ -#define BOARD_WIDTH 5 +#define BOARD_WIDTH 7 #define BOARD_ROW_BYTES ((BOARD_WIDTH * 2) + 1) #define BOARD_BYTES BOARD_ROW_BYTES * BOARD_ROW_BYTES char EMPTY = ' '; -char FORBIDDEN = ' '; int neighbor_increments[] = { - BOARD_ROW_BYTES, @@ -17,6 +16,10 @@ void initialize_board(char* board); void print_board(char* board); +void write_board(char* board, char* filename); + +void read_board(char* board, char* filename); + // Moves int is_allowed_placement(char* tile, int index, char* board); |