#include "Project.h"
unsigned long time_elapsed;
bool x;
void setup() {
// put your setup code here, to run once:
Reset();
UI_initialization2();
delay(2000);
x = UI_Game_Set_Easy_Confirm();
delay(2000);
x = UI_Game_Set_Hard_Confirm();
delay(2000);
UI_initialization1();
delay(2000);
}
void loop() {
// put your main code here, to run repeatedly:
time_elapsed = millis() - 4000;
if (time_elapsed <= 60000){
Game_Speed(time_elapsed%60000);
UI_Game_in(time_elapsed, 10);
}
else{
Reset();
UI_Game_end(10);
UI_initialization1();
delay(5000);
}
}