Files
SAE11_2025/main.c
T

25 lines
394 B
C

#include <stdio.h>
#include "affichage.h"
#include <graph.h>
#include "config.h"
#include "partie.h"
int main(void){
int grille[NB_LIGNES][NB_COLS],touche;
init_affichage();
initialiser_plateau(grille);
afficher_plateau(grille);
while(1){
if (ToucheEnAttente()){
touche = Touche();
if (touche == XK_q)break;
}
}
fermer_affichage();
return 0;
}