modification score et creation fenetre fin

This commit is contained in:
Titouan LERICHE 2023-12-19 11:47:35 +01:00
parent 54154639d6
commit 51cf41fe0b
4 changed files with 6 additions and 2 deletions

0
snake/ecr_fin.c Normal file

@ -45,8 +45,6 @@ int main(void) {
EcrireTexte(700,200, "SNAKE", 2);

Binary file not shown.

@ -8,11 +8,17 @@
short int* score_init(void) {
couleur white;
short int* compteur = NULL;
char a[20];
white = CouleurParComposante(255,255,255);
ChoisirCouleurDessin(white);
compteur = malloc(sizeof(short int));
*compteur = 0;