Start and Endtime; Timediff on game end #15
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#include <time.h>
|
||||
|
||||
|
||||
|
||||
|
||||
/* Defined macros */
|
||||
#define DEFAULTTRIES 6
|
||||
#define MAXWORDLENGTH 100
|
||||
@@ -21,6 +26,8 @@ typedef struct {
|
||||
char wrongCharacters[DEFAULTTRIES];
|
||||
int trollEnabled;
|
||||
char *alphabet;
|
||||
time_t startTime;
|
||||
time_t endTime;
|
||||
} game_state;
|
||||
|
||||
typedef struct word {
|
||||
|
Reference in New Issue
Block a user