This commit is contained in:
2025-10-08 16:11:15 +02:00
parent 6ea2416f9c
commit 728b639857
8 changed files with 373 additions and 0 deletions

12
src/functions.h Normal file
View 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