c언어로 구현한 스네이크게임(지렁이 게임)
개발툴은 dev c++ 이며 작년에 구현한 게임입니다. #include//72 up, 80 down, 75 left, 77 right #include #include #include #include int A[100]={0,},B[100]={0,},totalX=0,totalY=0,lon=4,chack=20,u=0; //전역변수 typedef struct Ranker{ int a; char b[5]; struct Ranker *next; }Ranker; void gotoxy(int x, int y); //콘솔커서 이동 함 수 void swap(int *a,int *b); //스왑함수 void screan(); // 배경 함수 void head(int *hendle,int *back, int *headx,i..