Réorganisation des fichiers et création du fichier Makefile

This commit is contained in:
2023-11-30 20:50:39 +01:00
parent 9f64e553ce
commit a7e9587cbc
6 changed files with 15 additions and 191 deletions

View File

@@ -54,7 +54,7 @@ int** plateau_init(void) {
/* teste pour faire apparaitre exactement 5 pommes */
while (tableau[ligne_pomme][colonne_pomme] == 2) {
while (tableau[ligne_pomme][colonne_pomme] == 2 || tableau[ligne_pomme][colonne_pomme] == 1) {
ligne_pomme = rand() % 40;
colonne_pomme = rand() % 60;