|
@ -821,6 +821,20 @@ void play_guessTheWord() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void B_show_time(void) { |
|
|
|
|
|
time_t current_time; |
|
|
|
|
|
struct tm *time_info; |
|
|
|
|
|
char time_string[9]; |
|
|
|
|
|
|
|
|
|
|
|
time(¤t_time); |
|
|
|
|
|
time_info = localtime(¤t_time); |
|
|
|
|
|
|
|
|
|
|
|
strftime(time_string, sizeof(time_string), "%H:%M", time_info); |
|
|
|
|
|
printf("The current time is: %s\n", time_string); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
void B_displayWelcomeMessage(void) { |
|
|
void B_displayWelcomeMessage(void) { |
|
|
printf("\t\t------------------------------------------\n\n"); |
|
|
printf("\t\t------------------------------------------\n\n"); |
|
|
printf("\t\t------------------------------------------\n\n"); |
|
|
printf("\t\t------------------------------------------\n\n"); |
|
@ -864,6 +878,7 @@ void b_epic_game() { |
|
|
B_username(); |
|
|
B_username(); |
|
|
B_userinfo(); |
|
|
B_userinfo(); |
|
|
B_displayGameInstructions(); |
|
|
B_displayGameInstructions(); |
|
|
|
|
|
B_show_time(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|