m
This commit is contained in:
parent
71262b5094
commit
6cdefeda69
@ -63,10 +63,9 @@ 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 20
|
||||
#define NOMBRE_OBSTACLES 10
|
||||
#define CYCLE 100000L
|
||||
void Attendre(unsigned int millisecondes);
|
||||
void Graphique();
|
||||
|
Loading…
Reference in New Issue
Block a user