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++) {