Add words

This commit is contained in:
Maxime Menault 2024-10-14 18:47:11 +02:00
parent 9ff26406ca
commit a48f578328

13
pendu.c
View File

@ -3,7 +3,7 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#define MAX_WORDS 5 #define MAX_WORDS 14
#define MAX_TRIES 6 #define MAX_TRIES 6
const char *words[MAX_WORDS] = { const char *words[MAX_WORDS] = {
@ -11,7 +11,16 @@ const char *words[MAX_WORDS] = {
"ordinateur", "ordinateur",
"langage", "langage",
"jeu", "jeu",
"algorithmique" "algorithmique",
"fontainebleau",
"koala",
"anticonstitutionnellement",
"code",
"canard",
"gyroscope",
"periclitation",
"susurrer",
"eclesiastique"
}; };
void display_hangman(int tries) { void display_hangman(int tries) {