What is the small game code written in C language?
/* I don't know what level you are. I'm a novice, and I'm new to programming languages. The following is a small program I made, which can run on all compilers of C language (vc++6.0, turbo), and you can further improve it. This is a small game similar to a snake. Good luck */\ x0d \/* snake */\ x0d \ # include \ x0d \ # include \ x0d \ int head = 3, tail = 0;; \x0d\int main()\x0d\{\x0d\int i,j,k = 0; \x0d\int left label [2] [80]; \ x0d \ longstart \ x0d \ int direction = 77 \ x0d \ int gamespeed \ x0d \ int timeout \ x0d \ int change (char Pan Qi [20][80], int left label [2][80], char direction); \ x0d \ Left mark [0] [tail] =1; Left label [1][ tail] =1; Left label [0] [1] =1; Left label [1] [1] = 2; Left label [0] [2] =1; Left label [1] [2] = 3; Left label [0][ header] =1; Left label [1][ header] = 4; \x0d\/* Handling chessboard */\x0d\char Pan Qi [20] [80]; //Define chessboard \ x0d \ for(I = 0;; I for(j = 0; jqipan[I][j]=“”; //Initialize the chessboard \ x0d \ for(I = 0;; iqi pan[0][I]= ' _ '; \ x0d \ for(I = 0; iqipan[I][0]= ' | '; \ x0d \ for(I = 0; iqi pan[I][79]= ' | '; \ x0d \ for(I = 0; iqi pan[ 19][I]= ' _ '; \ x0d \ Pan Qi [1][ 1]= Pan Qi [1][2]= Pan Qi [1] [3] =' *'; //Initialize the position of the snake \ x0d \ Pan Qi [1] [4] =' #'; \x0d\printf ("This is a snake game. \ n Good luck! \ n "); \x0d\printf ("Please enter your game speed. (e.g. 300) \ n "); \x0d\scanf("%d ",& ampgamespeed); \x0d\\x0d\while (direction! = ' q ')\ x0d \ { \ x0d \ system(" cls "); \ x0d \ for(I = 0; ifor(j = 0; Jprintf("%c ",Pan Qi [I] [J]); \ x0d \ time over = 1; \ x0d \ start = clock(); \x0d\while(! kb hit()& amp; & amp(time over = clock()-startif(time over)\ x0d \ { \ x0d \ getch(); \ x0d \ direction = getch(); \ x0d \ } \ x0d \ else \ x0d \ direction = direction; \x0d\if(! (Direction = = 72 | | Direction = = 80 | | Direction = = 75 | | Direction = = 77)) \ x0d \ {\ x0d \ return0; \ x0d \ system(" cls "); \x0d\printf ("Game over! \ n "); \x0d\}\x0d\if(! Change (Pan Qi, left label, direction)) \ x0d \ {\ x0d \ direction =' q \ x0d \ system ("CLS"); \x0d\printf ("Game over! \ n "); \ x0d \ } \ x0d \ } \ x0d \ return 0; \x0d\}\x0d\int change(char Pan Qi [20][80], int left label [2][80], char direction) \x0d\{\x0d\int x, y; \ x0d \ if(direction = = 72)\ x0d \ x = left tag [0][ header]-1; Y = left mark [1][ header]; \ x0d \ if(direction = = 80)\ x0d \ x = left tag [0][ header]+1; Y = left mark [1][ header]; \ x0d \ if(direction = = 75)\ x0d \ x = left mark [0][ header]; Y = left mark [0][ header]-1; \ x0d \ if(direction = = 77)\ x0d \ x = left mark [0][ header]; Y = left tag [1][ header]+1; \ x0d \ if(x = = 0 | | x = = 18 | | y = = 78 | | y = = 0)\ x0d \ return 0; \x0d\if (Pan Qi [x][y]! = ' ')\ x0d \ return 0; \ x0d \ Pan Qi [left label [0][ tail]] [left label [1][ tail]] =''; \ x0d \ tail =(tail+ 1)% 80; \ x0d \ Pan Qi [left label [0][ head]] [left label [1][ head]] =' *'; \ x0d \ head =(head+ 1)% 80; \ x0d \ Left Label [0][ Header] = x; \ x0d \ Left Label [1][ Header] = y; \ x0d \ Pan Qi [left label [0][ header]] [left label [1][ header]] =' #'; \ x0d \ return 1; \x0d\}