To continue the paused game press any other key once again\n\n-> If you want to exit press esc.
Your life will decrease as you hit the wall or snake's body.\n\n-> YOu can pause the game in its middle by pressing any key. Everytime you eat a food the length of the snake will be increased by 1 element and thus the score.\n\n-> Here you are provided with three lives. Printf('All lives completed\nBetter Luck Next Time!!!\nPress any key to quit the game\n') įor(j=1 j Use arrow keys to move the snake.\n\n-> You will be provided foods at the several coordinates of the screen which you have to eat. Move() //initialing initial bend coordinate Coordinate head, bend,food,body įood() //to generate food coordinates initially