forked from menault/TD3_DEV51_Qualite_Algo
		
	Add words
This commit is contained in:
		
							
								
								
									
										13
									
								
								pendu.c
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								pendu.c
									
									
									
									
									
								
							@@ -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) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user