Home > Back-end >  Pray god help, brother won't ah
Pray god help, brother won't ah

Time:10-10


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,

CodePudding user response:

The
refer to the original poster qq_45849870 response:
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,

The meow freshman did his topic? I'm too stupid

CodePudding user response:

As a sophomore junior title, or is the graduation design topic, but the graduation design requirements will be high than this.

CodePudding user response:

You'd better do this, do have a problem to stick out, after all, write this can not write a few lines of 10 lines, everyone is very busy,
  • Related