no printf + changement win and lose png

This commit is contained in:
2024-12-30 13:23:29 +01:00
parent 97cbf06748
commit 4cd165867e
5 changed files with 10 additions and 5 deletions

BIN
image/lose.png LFS

Binary file not shown.

BIN
image/lose.png~ LFS Normal file

Binary file not shown.

BIN
image/win.png LFS

Binary file not shown.

BIN
image/win.png~ LFS Normal file

Binary file not shown.

View File

@@ -677,7 +677,6 @@ unsigned int scoreCalculator(score *score_user, bool win)
{ {
unsigned short int result = 65535; //plus grand nombre unsigned short int result = 65535; //plus grand nombre
int time = score_user->after - score_user->before; int time = score_user->after - score_user->before;
printf("%d\n", time);
result -= (score_user->move_box + score_user->move_player) * time; result -= (score_user->move_box + score_user->move_player) * time;
if (!win) if (!win)
{ {