Ajout menu fonctionnel + réglage beug score

This commit is contained in:
JUDE CHRIST AISSI
2023-12-21 14:32:41 +01:00
parent 6b14cf17e8
commit d0285048f5
14 changed files with 60 additions and 38 deletions

View File

@@ -36,11 +36,11 @@ void Update_Serpent(int pos_x[], int pos_y[], int segment, int old_x[], int old_
void Collision_Serpent(int pos_x[], int pos_y[], int segment, int murx[], int mury[], int *go_on){
int i;
/*Serpent contre coté*/
if (pos_x[0] >1160 || pos_x[0]<=0){
if (pos_x[0] >1180 || pos_x[0]<=0){
*go_on=0;
}
/*Serpent contre coté*/
if (pos_y[0]<20 || pos_y[0] >=700){
if (pos_y[0]<20 || pos_y[0] >=720){
*go_on=0;
}
/*Serpent contre Serpent*/