Snake game 1. Problem description With the basic ideas and methods of object oriented programming to design a small snake game, The realization of the complete game Including games, start the game, pause the game and stop the game, the game help tips and heroes list shows, etc., greed Eat snake basic gameplay: use a small rectangular piece of said section of snake body, the body of each section, add a rectangular block, Can use, down, left, right control the movement direction of the snake game area, make the food in direction, and devour food The body growth, every eat a fraction increased, every fifty points increase one level, level, "snake" mobile speed Definition will be faster, "snake" bump "wall" or "snake" encounter "star" for death, game over, 2, the functional requirements (1) the snake game can be run under DOS, (2) can realize the snake the normal movement of the body, (3) according to key change direction of motion of the snake, (4) can realize the function after the snake to eat the food growth, Display the current level (5) according to score, the higher the score, the higher the level, the faster the speed of the snake, (6) the game will be displayed after the player's score,