1
0

Modification de la fonction fin()

La fonction fin() prend désormais en argument le temps écoulé lors de la partie en Microsecondes
This commit is contained in:
Lyanis SOUIDI 2022-12-04 12:06:09 +01:00
parent 6dd9ddbc19
commit 7a04fe45bf
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ int fin(unsigned long int timer) {
EcrireTexte(550, 150, "You Win !", 2);
char buf[100];
timer = stop_timer(timer);
unsigned int secondes = timer / DELTA;
unsigned int minutes = 0;
while (secondes >= 60) {

View File

@ -106,5 +106,5 @@ int game(int colonnes, int lignes) {
}
}
return fin(timer);
return fin(stop_timer(timer));
}