Le programme permet maintenant d'affichier un ecran qui fait la taille d'une grille 4*4

This commit is contained in:
2025-11-30 16:16:27 +01:00
parent 78c24a6541
commit 7e105c12d6
7 changed files with 74 additions and 10 deletions
+9 -4
View File
@@ -1,15 +1,20 @@
#include <stdio.h>
#include "affichage.h"
#include<stdio.h>
#include <graph.h>
#include "config.h"
#include "partie.h"
int main(void){
int k;
int grille[NB_LIGNES][NB_COLS],touche;
init_affichage();
initialiser_plateau(grille);
afficher_plateau(grille);
while(1){
if (ToucheEnAttente()){
k = Touche();
if (k == XK_q)break;
touche = Touche();
if (touche == XK_q)break;
}