2024-10-25 13:08:43 +02:00
|
|
|
#include <graph.h>
|
2024-11-04 13:34:39 +01:00
|
|
|
#include <stdio.h>
|
2024-11-04 16:01:48 +01:00
|
|
|
#include <stdlib.h>
|
2024-10-25 13:08:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "menu.h"
|
2024-11-04 22:11:03 +01:00
|
|
|
#include "grille.h"
|
2024-11-05 11:55:44 +01:00
|
|
|
#include "taille.h"
|
2024-11-11 14:47:28 +01:00
|
|
|
#include "jeu.h"
|
|
|
|
|
|
2024-10-25 13:08:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
int main (void){
|
2024-11-11 14:47:28 +01:00
|
|
|
int taillefenetre = 0;
|
2024-10-29 13:32:57 +01:00
|
|
|
InitialiserGraphique();
|
2024-11-11 14:47:28 +01:00
|
|
|
CreerFenetre(100, 100, 700, 500);
|
2024-10-29 13:32:57 +01:00
|
|
|
EffacerEcran(CouleurParNom("white"));
|
2024-11-05 17:26:03 +01:00
|
|
|
Menu();
|
2024-11-11 14:47:28 +01:00
|
|
|
|
|
|
|
|
taillefenetre = GererChoixTaille();
|
|
|
|
|
|
|
|
|
|
printf("taille fenetre de main %d\n", taillefenetre);
|
|
|
|
|
FermerGraphique();
|
|
|
|
|
InitialiserGraphique();
|
|
|
|
|
CreerFenetre(100, 100, 500, 500);
|
|
|
|
|
GraphJeu();
|
2024-11-04 16:01:48 +01:00
|
|
|
return EXIT_SUCCESS;
|
2024-10-25 13:08:43 +02:00
|
|
|
}
|