ajout d'une limite de vitesse pour rendre le jeu finissable

This commit is contained in:
2023-12-12 13:52:18 +01:00
parent 9a85deb7b8
commit fb96098377
2 changed files with 9 additions and 5 deletions

View File

@@ -10,8 +10,8 @@ typedef struct {
Pomme creerPomme() {
Pomme pomme;
pomme.x = rand() % 59;
pomme.y = rand() % 39;
pomme.x = rand() % 60;
pomme.y = rand() % 40;
return pomme;
}