troll mode added #7
This commit is contained in:
@@ -15,6 +15,7 @@ typedef struct {
|
||||
int wordLength;
|
||||
char currentWord[MAXWORDLENGTH];
|
||||
char wrongCharacters[DEFAULTTRIES];
|
||||
int trollEnabled;
|
||||
} game_state;
|
||||
|
||||
typedef struct word {
|
||||
@@ -40,3 +41,4 @@ void startGame(game_state *gs);
|
||||
void showHelp(game_state *gs);
|
||||
int centerDiff(int coordinate, char *str);
|
||||
void readRandomLine(char *file, char *result);
|
||||
void trollHitScreen(game_state *gs, int hits);
|
||||
|
Reference in New Issue
Block a user