diff --git a/src/board.h b/src/board.h index aa8da8ed3f1b503278debc5058ce0bc05fda63d8..20a163266192cf9bd8cb50e1b61fc535e7bbbe0f 100644 --- a/src/board.h +++ b/src/board.h @@ -1,6 +1,8 @@ #include <stdio.h> #include <stdlib.h> +#ifndef board_h +#define board_h enum state{Croix, Cercle, Vide}; struct board{ @@ -9,4 +11,8 @@ struct board{ enum state **data; }; -void init(int col, int line); \ No newline at end of file +struct board create_board(int col, int line); +void init_board(struct board *board); +void print_game(struct board *board); +void free_board(struct board *board); +#endif \ No newline at end of file