The third course is designed to test report

19 The third course is designed to test spring report
a experimental project name
disappear brick
Second, the experimental project functional description
of the project's main achievement is to bounce the ball by moving the baffle to eliminate bricks, by 'w', 's' , 'a', 'd' to move the shutter, when all the bricks are complete eradication, the game is over.
Third, the modular structure described items
mainly by continuing the game to achieve the main function of the cycle several custom functions, data is divided into the initialization function (Startup ()), the function to prevent the screen (Clean ()), a display screen function (show ()), the user independent of the input data updating function (updatewithoutInput ()), the user inputs a function relating (updatewithInput ()), a subsequent processing function (GameOver ()) game is over;

Fourth, implement the interface description

V. code hosting links
https://gitee.com/gaotian250yj912
six experiments summarized
the problem: the game is not over, endless version; there is the flicker problem.
Solution: When bricks are eliminated completely after the end of the game, remember to use the count of the number of bricks to eliminate, to the end of all, we used some bulk drawing functions according to the instructions on the book.
Thoughts: that is, the game can actually be perfect again Some, such as the difficulty in speed, as well as the role, baffles, or going to think about it properly.

Guess you like

Origin www.cnblogs.com/gaotian250yj912/p/10991373.html