27 lines
515 B
C
27 lines
515 B
C
|
/* Leni Boscher * Tanguy Domergue */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <graph.h>
|
||
|
#include"main.h"
|
||
|
#include"menu.h"
|
||
|
#include"plateau.h"
|
||
|
#include"regles.h"
|
||
|
|
||
|
|
||
|
int main(void){
|
||
|
int number, versus;
|
||
|
InitialiserGraphique();
|
||
|
CreerFenetre(10,10, LargeF, HautF);
|
||
|
if (accueil(&number, &versus)==0)return EXIT_SUCCESS;
|
||
|
while(1) {
|
||
|
if(SourisCliquee()) {
|
||
|
if (_X>=322 && _X<=426 && _Y>=453 && _Y<=511){
|
||
|
FermerGraphique();
|
||
|
plateau(number, versus);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|