@@ -108,7 +108,7 @@ int gererCollisions(SnakePoint *snake, int taille, PommePoint *pommes) {
pommes[i].posy=(rand()%(HAUTEUR-2))+1;
/*Augmente la taille du serpent*/
(*taille)++;
return1;/*Collision avec une pomme*/
}
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.