SAE11_2023/snake/plateau_init.h

32 lines
506 B
C
Raw Normal View History

/* Fichier d'en-tête comprenant les definitions des contantes nommées et les prototypes)
Written by Yann KERAUDREN and Titouan LERICHE*/
#ifndef PLATEAU_INIT_H
#define PLATEAU_INIT_H
#define LIGNES 40
#define COLONNES 60
#define NBR_POMME 5
#define TAILLE_SERPENT 10
struct adresse {
int** plateau;
unsigned int** corps_serpent;
unsigned int* taille_serpent;
unsigned char* tete;
unsigned int* indice_queue;
};
struct adresse* plateau_init(void);
#endif /* PLATEAU_INIT_H */