Skip to content

Commit

Permalink
Derniers correctifs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliott-Srl committed Dec 23, 2023
1 parent 2be43e3 commit 9129b19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jeu/jeu.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ int actionsBlock(Niveau *niveau, int directionX, int directionY, int *vies) {
}
case 9: {
niveau->oiseaux++;
printf("%d", niveau->oiseaux);
if (niveau->oiseaux == 4) {
niveau->niveauFini = 1;
}
Expand Down Expand Up @@ -244,7 +245,6 @@ void motdepasse(int *idniveau, int *jeulanch, int *jeufini, int *score) {

void jeu() {
Jeu gameHolder = {NOMBRE_NIVEAUX, 0, 3};
char *motDePasses[] = {"", "complexe?", "thelastone"};
int scoreTotal = 0;
int jeuFini = 0;
int jeuLanch = 0;
Expand All @@ -260,5 +260,6 @@ void jeu() {

printf("Votre score est de %d points\n", scoreTotal);
Sleep(2000);
printf("Appuyez pour continuer \n");
getch();
}

0 comments on commit 9129b19

Please sign in to comment.