fonctionnalité diff #2
3
pendu.c
3
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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user