maj boucle infini
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
#include "plateau_init.h"
|
#include "plateau_init.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int start (void) {
|
int start (void) {
|
||||||
|
|
||||||
couleur green, grey, yellow, red, black;
|
couleur green, grey, yellow, red, black;
|
||||||
@@ -48,8 +49,6 @@ int start (void) {
|
|||||||
RemplirRectangle( 1241, 820, 195, 3);
|
RemplirRectangle( 1241, 820, 195, 3);
|
||||||
RemplirRectangle( 1433, 17, 3, 806);
|
RemplirRectangle( 1433, 17, 3, 806);
|
||||||
|
|
||||||
/*affichage texte explication touche */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -109,6 +108,10 @@ int start (void) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
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) {
|
int main(void) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
start();
|
start();
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user