游戏说明:计算机会在屏幕上将一串数字显示很短的时间。玩家必须在数字消失之前记住他们,然后输入这串数字。每次过关后,计算机会显示更长的一串数字,让玩家继续玩下去。玩家应尽可能使这个过程重复更多的次数。
#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
int main(void){
char another_game = 'Y'; //Records if another game is to be played
const unsigned int DELAY = 1; //Display period in seconds
bool correct = true;
unsigned int tries = 0;
unsigned int digits = 0;
time_t seed = 0;
unsigned int number = 0;
time_t wait_start = 0;
clock_t start_time = 0;
unsigned int