ajout main.c manquant

This commit is contained in:
JUDE CHRIST AISSI 2023-12-22 15:20:04 +01:00
parent 29ed7dc6df
commit 85409dab44

View File

@ -7,16 +7,13 @@
#include "../fichier.h/time.h" #include "../fichier.h/time.h"
#include "../fichier.h/main.h" #include "../fichier.h/main.h"
#include "../fichier.h/menu.h" #include "../fichier.h/menu.h"
#define CYCLE 100000L #define CYCLE 100000L
#define DELAI_MILLISECONDES 100 #define DELAI_MILLISECONDES 100
void attente(int milliseconds) { void attente(int milliseconds) {
clock_t start_time = clock(); clock_t start_time = clock();
while ((clock() - start_time) * 1000 / CLOCKS_PER_SEC < milliseconds) { while ((clock() - start_time) * 1000 / CLOCKS_PER_SEC < milliseconds) {
} }
} }
int lancer_jeu(){ int lancer_jeu(){
int go_on=1; int go_on=1;
int pause = 1; int pause = 1;
@ -75,4 +72,3 @@ int main(void){
FermerGraphique(); FermerGraphique();
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }