forked from menault/TD3_DEV51_Qualite_Algo
add src
This commit is contained in:
12
src/functions.h
Normal file
12
src/functions.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef FUNCTIONS_H
|
||||
#define FUNCTIONS_H
|
||||
|
||||
#define LIFES 8
|
||||
|
||||
char choose_letter();
|
||||
int word_size(const char *fullWord);
|
||||
int letter_occurrence(char letter, const char *fullWord);
|
||||
void position_letter(char letter, const char *fullWord, char *partialWord);
|
||||
int has_won(const char *fullWord, const char *partialWord);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user