Better end screen

This commit is contained in:
2017-05-01 18:22:04 +02:00
parent 4cb1732990
commit 9bc95c07af
2 changed files with 24 additions and 10 deletions

View File

@@ -3,8 +3,9 @@
/* Data structures */
typedef struct {
int moves;
int moves; //Only wrong moves
int allowedMoves;
int guesses; //All guesses included valid moves
int maxy;
int maxx;
int centery;
@@ -31,3 +32,4 @@ int playerInput(game_state *gs);
int fillCurrentWord(game_state *gs, char validchar);
int stackWrongCharacter(game_state *gs, char wrongchar);
int checkWin(game_state *gs);
void printGameStats(game_state *gs);