SAE11_2023/JEUX_SERPENT/terrain.c
2023-12-04 17:01:52 +01:00

12 lines
209 B
C

#include <stdlib.h>
#include <stdio.h>
#include <graph.h>
#include <time.h>
#include <unistd.h>
void Terrain(){
if (pos_x[0] >1140 || pos_x[0]<=20)
go_on=0;
if (pos_y[0]<40 || pos_y[0] >=680)
go_on=0;
}