Ajout menu fonctionnel + réglage beug score
This commit is contained in:
@@ -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*/
|
||||
|
Reference in New Issue
Block a user