From a48f578328d62629f6fa8d19f0fd51a9169fc198 Mon Sep 17 00:00:00 2001 From: Maxime Menault Date: Mon, 14 Oct 2024 18:47:11 +0200 Subject: [PATCH] Add words --- pendu.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pendu.c b/pendu.c index 3e574e7..1b0cfd6 100644 --- a/pendu.c +++ b/pendu.c @@ -3,7 +3,7 @@ #include #include -#define MAX_WORDS 5 +#define MAX_WORDS 14 #define MAX_TRIES 6 const char *words[MAX_WORDS] = { @@ -11,7 +11,16 @@ const char *words[MAX_WORDS] = { "ordinateur", "langage", "jeu", - "algorithmique" + "algorithmique", + "fontainebleau", + "koala", + "anticonstitutionnellement", + "code", + "canard", + "gyroscope", + "periclitation", + "susurrer", + "eclesiastique" }; void display_hangman(int tries) {