From 55e95bf1a35c253568ff26ba460b6be83402c435 Mon Sep 17 00:00:00 2001
From: "sabrina.lapaire" <sabrina.lapaire@etu.hesge.ch>
Date: Sat, 22 Mar 2025 00:59:55 +0100
Subject: [PATCH] Modifier board.h

---
 src/board.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/board.h b/src/board.h
index aa8da8e..20a1632 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
-- 
GitLab