Réorganisation des fichiers et création du fichier Makefile
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user