X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=TP_13%2Fexo2%2Flib%2Fcoordinates.h;h=f17d2cc1432b7269acebfeb5a2e546e8a56cfc28;hb=bbf5487f8cae3e6643f1d40be6aaa7164bae5cc5;hp=b396c3d890c92896336d04c5b8cd41613090dfbc;hpb=811d4abe716c4d14629cee5beda1e1f3cff979bc;p=TD_C.git diff --git a/TP_13/exo2/lib/coordinates.h b/TP_13/exo2/lib/coordinates.h index b396c3d..f17d2cc 100644 --- a/TP_13/exo2/lib/coordinates.h +++ b/TP_13/exo2/lib/coordinates.h @@ -30,8 +30,8 @@ typedef struct coordinates_s { unsigned type; /* 0 = O, 1 = X */ } coordinates_t; -void init_coordinates(coordinates_t* coordinates_array); coordinates_t set_coordinates(int y, int x, unsigned type); +void zero_coordinates(coordinates_t* coordinates_array); unsigned add_coordinates(coordinates_t new_coordinates, coordinates_t* coordinates_array, unsigned round); bool chk_win_conditions(coordinates_t* coordinates_array, unsigned round);