maj boucle infini
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "plateau_init.h"
|
||||
|
||||
|
||||
|
||||
int start (void) {
|
||||
|
||||
couleur green, grey, yellow, red, black;
|
||||
@@ -47,9 +48,7 @@ int start (void) {
|
||||
RemplirRectangle( 1241, 17, 3, 806);
|
||||
RemplirRectangle( 1241, 820, 195, 3);
|
||||
RemplirRectangle( 1433, 17, 3, 806);
|
||||
|
||||
/*affichage texte explication touche */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -108,7 +107,11 @@ int start (void) {
|
||||
FermerGraphique();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
BIN
snake/lancement
Executable file
BIN
snake/lancement
Executable file
Binary file not shown.
22
snake/main.c
22
snake/main.c
@@ -6,6 +6,28 @@
|
||||
|
||||
int main(void) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
start();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
Reference in New Issue
Block a user