This commit is contained in:
proal 2022-12-01 22:32:16 +01:00
parent 13d939a379
commit c5215d29b9

4
jeu.c
View File

@ -78,7 +78,6 @@ int jeu(int position[20][4], int nb_paires){
printf("Voici comparer[0]: %s\n", comparer[0]); printf("Voici comparer[0]: %s\n", comparer[0]);
printf("Voici comparer[1]: %s\n\n", comparer[1]); printf("Voici comparer[1]: %s\n\n", comparer[1]);
ChargerImage(affichage,im_x,im_y,0,0,80,80); ChargerImage(affichage,im_x,im_y,0,0,80,80);
printf("Voici repet: %d après\n", repet);
repet++; repet++;
} }
} }
@ -88,10 +87,11 @@ int jeu(int position[20][4], int nb_paires){
} }
printf("Voici comparer[0]: %s\n", comparer[0]); printf("Voici comparer[0]: %s\n", comparer[0]);
printf("Voici comparer[1]: %s\n", comparer[1]); printf("Voici comparer[1]: %s\n", comparer[1]);
printf("Voici affichage: %s\n", affichage);
/*printf("%d\n", im_x); /*printf("%d\n", im_x);
printf("%d\n", im_y);*/ printf("%d\n", im_y);*/
if (comparer[0]==affichage){ if (comparer[0]==affichage){
score++; score++;
} }
repet2=0; repet2=0;
if (score!=20){ if (score!=20){