2023-11-23 01:26:15 +01:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
2023-12-10 22:51:36 +01:00
|
|
|
#include <graph.h>
|
2023-11-30 20:50:39 +01:00
|
|
|
#include "fenetre.h"
|
|
|
|
#include "plateau_init.h"
|
2023-12-10 23:03:16 +01:00
|
|
|
|
2023-12-10 00:36:22 +01:00
|
|
|
|
|
|
|
|
2023-11-23 01:26:15 +01:00
|
|
|
|
|
|
|
|
2023-11-30 20:50:39 +01:00
|
|
|
int main(void) {
|
2023-11-23 01:26:15 +01:00
|
|
|
|
2023-12-11 16:19:17 +01:00
|
|
|
|
2023-12-12 16:17:06 +01:00
|
|
|
struct adresse* pointeur = plateau_init();
|
2023-12-11 16:19:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
InitialiserGraphique();
|
2023-12-10 00:36:22 +01:00
|
|
|
|
|
|
|
/*initialisation de la taille de la fenetre de jeux*/
|
|
|
|
|
|
|
|
CreerFenetre(10,10,1450,840);
|
2023-12-07 11:16:30 +01:00
|
|
|
|
|
|
|
|
2023-12-12 16:17:06 +01:00
|
|
|
start(pointeur);
|
2023-12-01 19:06:10 +01:00
|
|
|
|
2023-12-11 23:32:22 +01:00
|
|
|
/* while ( jeu = 1) {
|
2023-12-11 16:19:17 +01:00
|
|
|
|
|
|
|
if (Microsecondes() > suivant) {
|
|
|
|
|
|
|
|
|
|
|
|
deplacement(plateau, tete, queue);
|
|
|
|
|
|
|
|
|
2023-12-11 23:32:22 +01:00
|
|
|
}*/
|
2023-12-10 00:36:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
Touche();
|
|
|
|
FermerGraphique();
|
|
|
|
|
2023-11-23 01:26:15 +01:00
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|