Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
Loading...
Searching...
No Matches
game_instance Struct Reference

for main() - tolower() for main(), new_word(), new_guess(), won() - I/O operations for all functions - exit(), rand() and file functions for main() - for string operations strlen, strchr, strcpy for new_game() - used with srand() for declaring new game instance More...

Data Fields

char current_word [30]
 word to be guessed by player
 
char hidden [30]
 hidden version of word that is displayed to player
 
int size
 size of word
 
int incorrect
 number of incorrect guesses
 
char guesses [25]
 previous guesses
 
int guesses_size
 size of guesses array
 

Detailed Description

for main() - tolower() for main(), new_word(), new_guess(), won() - I/O operations for all functions - exit(), rand() and file functions for main() - for string operations strlen, strchr, strcpy for new_game() - used with srand() for declaring new game instance


The documentation for this struct was generated from the following file: