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

@ -36,8 +36,6 @@ int main(void) {
DessinerSegment(300, 506, 380, 536);
DessinerSegment(300, 505, 380, 535);
DessinerSegment(300, 504, 380, 534);

Binary file not shown.

@ -7,11 +7,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;