maj
This commit is contained in:
@@ -11,12 +11,20 @@
|
||||
#define NBR_POMME 5
|
||||
#define TAILLE_SERPENT 10
|
||||
|
||||
struct serpent {
|
||||
int* ;
|
||||
int* queue;
|
||||
}
|
||||
|
||||
|
||||
int** plateau_init(void) {
|
||||
|
||||
int ligne_pomme, colonne_pomme, i;
|
||||
|
||||
int** tableau = NULL;
|
||||
|
||||
struct serpent
|
||||
|
||||
|
||||
srand(time(NULL));
|
||||
|
||||
@@ -38,6 +46,7 @@ int** plateau_init(void) {
|
||||
|
||||
tableau[((LIGNES/2)-5)+i][COLONNES/2] = 1;
|
||||
|
||||
serpent
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user