18 lines
363 B
C
18 lines
363 B
C
#ifndef GAMESTATE_H
|
|
#define GAMESTATE_H
|
|
|
|
void init_game_state();
|
|
|
|
// Gets the word at the current element. Will always return a valid non-null pointer to first char of the word
|
|
char *get_curr_word();
|
|
|
|
char get_curr_letter();
|
|
int get_curr_letter_index();
|
|
|
|
int get_wins();
|
|
|
|
// handle either going to the next letter or next word if at the end
|
|
void next();
|
|
|
|
#endif
|