Revert "m"
This reverts commit 6cdefeda69
.
modified: graphique.c
modified: graphique.h
new file: snake
This commit is contained in:
parent
6cdefeda69
commit
fbaedeee4c
@ -63,9 +63,10 @@ void AfficheTemps(int minute, int seconde) {
|
||||
EcrireTexte(20, 900, temps, 2);
|
||||
}
|
||||
void AfficherEcranFin(int score) {
|
||||
ChoisirCouleurDessin(CouleurParComposante(255,0,0));
|
||||
EcrireTexte(500, 300, "Game Over!", 2);
|
||||
|
||||
char scoreText[20];
|
||||
snprintf(scoreText, 20, "Score: %d", score);
|
||||
EcrireTexte(500, 400, scoreText, 2);
|
||||
|
||||
}
|
||||
int PauseJeu(int perdu) {
|
||||
|
@ -8,7 +8,7 @@
|
||||
#define LARGEUR 60
|
||||
#define TAILLE_CASE 19
|
||||
#define NOMBRE_POMMES 5
|
||||
#define NOMBRE_OBSTACLES 10
|
||||
#define NOMBRE_OBSTACLES 20
|
||||
#define CYCLE 100000L
|
||||
void Attendre(unsigned int millisecondes);
|
||||
void Graphique();
|
||||
|
Loading…
Reference in New Issue
Block a user