#include <stdio.h> #include "grid.h" #include <stdbool.h> int main(void){ bool run = true; while(run){ struct Grid* grid = init_level("./level1.txt"); Affichage_grid(grid); char entry = fgetc(stdin); switch(entry){ case 'e' :{ run = false; break; } } } }