From 2948892c0a689d4bdfc81ab9f197992b62d8fc61 Mon Sep 17 00:00:00 2001 From: MatthisFauvet Date: Tue, 15 Oct 2024 12:01:11 +0200 Subject: [PATCH] Merge master and modified some line due to merge --- pendu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pendu.c b/pendu.c index 42dfe9e..78e223b 100644 --- a/pendu.c +++ b/pendu.c @@ -87,10 +87,9 @@ char* choix_diff(){ // main function which starts the game and calculates time and points int main() { char *word = choix_diff(); - int word_length = strlen(word); + int word_length = strlen(word), guessed_correctly = 0, score=0, past_time=0; char guessed[word_length]; int tries = 0; - int guessed_correctly = 0; bool is_time_ecouled; for (int i = 0; i < word_length; i++) {