fonctionnalité diff #2

Merged
Matthis FAUVET merged 5 commits from branche_flo into master 2024-10-15 12:04:19 +02:00
Showing only changes of commit 2948892c0a - Show all commits

View File

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