From 4cd165867eaf5323c255256c6bafd2d3a8e0d773 Mon Sep 17 00:00:00 2001 From: Aubin DORIVAL Date: Mon, 30 Dec 2024 13:23:29 +0100 Subject: [PATCH] no printf + changement win and lose png --- image/lose.png | 4 ++-- image/lose.png~ | 3 +++ image/win.png | 4 ++-- image/win.png~ | 3 +++ script/function.c | 1 - 5 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 image/lose.png~ create mode 100644 image/win.png~ diff --git a/image/lose.png b/image/lose.png index dc1cbbe..a192dd0 100644 --- a/image/lose.png +++ b/image/lose.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:72892e84e4d07c251f0fd859291936969a5d5a447ab0de79146907e807c1df34 -size 5464 +oid sha256:64035860573927e6cc5d98921033464f8232bdc7e56ba2cc2824a481e9013123 +size 5352 diff --git a/image/lose.png~ b/image/lose.png~ new file mode 100644 index 0000000..dc1cbbe --- /dev/null +++ b/image/lose.png~ @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72892e84e4d07c251f0fd859291936969a5d5a447ab0de79146907e807c1df34 +size 5464 diff --git a/image/win.png b/image/win.png index 3cba41a..9f7a2f2 100644 --- a/image/win.png +++ b/image/win.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e494247b2804e951457c9f71ee75e0c5a0238a599f531ca8218e692da1230f64 -size 4178 +oid sha256:51ebb9301991a54f2cda89782c32b1c2d49979a94417ca86768509af9f649b01 +size 4028 diff --git a/image/win.png~ b/image/win.png~ new file mode 100644 index 0000000..3cba41a --- /dev/null +++ b/image/win.png~ @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e494247b2804e951457c9f71ee75e0c5a0238a599f531ca8218e692da1230f64 +size 4178 diff --git a/script/function.c b/script/function.c index 77b5b56..d0b8647 100644 --- a/script/function.c +++ b/script/function.c @@ -677,7 +677,6 @@ unsigned int scoreCalculator(score *score_user, bool win) { unsigned short int result = 65535; //plus grand nombre int time = score_user->after - score_user->before; - printf("%d\n", time); result -= (score_user->move_box + score_user->move_player) * time; if (!win) {