Merge master and modified some line due to merge

This commit is contained in:
Matthis FAUVET 2024-10-15 12:01:11 +02:00
parent d0c4f2218c
commit 2948892c0a

View File

@ -87,10 +87,9 @@ char* choix_diff(){
// main function which starts the game and calculates time and points // main function which starts the game and calculates time and points
int main() { int main() {
char *word = choix_diff(); 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]; char guessed[word_length];
int tries = 0; int tries = 0;
int guessed_correctly = 0;
bool is_time_ecouled; bool is_time_ecouled;
for (int i = 0; i < word_length; i++) { for (int i = 0; i < word_length; i++) {