Spring 2019 second course test report

2019 Spring Report of the second course is designed to test
a: Experimental Project Name: bouncing ball game
II: Experimental Project Description: Design a little ball and take the ball baffle, once up and down the side will bounce back in the opposite direction met once baffle to catch the ball in the score-plus-two, if not received, it will lose a life, a total of three on the design, once all run out ganme over.
three: introduction project module structure:
(1) Void gotoxy (int x, int y) of hiding a pointer function
(2) Void startup () game data initialization
(3) Void show () display screen
(4) Void updateWithoutInput () system automatic operation
(5) Void updateWithInput () operated by the player function of
four : implement interface display:

Five: code hosting links:
https://gitee.com/dadandan/chen/commit/aa234864a071b28553a39be29b877f00545fb079
VI: Experimental Summary:
one: is this the beginning of the most moving baffles problem, when I had been left when pressing the shutter button flashing seek death, but will not move, I go online to find the problem, he told me that the increase in Sleep () brackets to see if the shutter time is really moving, if it is moved explain your code is not enough rigorous, repeatedly Find , the addition of the addition of a flashing cursor function, it does not blink, and I think without all right ah, sometimes mean that the code is too heavy. Unable to understand.
Two: I always felt I did not drop the ball on the bounce to go up on the apron, but I would reduce the falling distance, the ball will fall on the bezel where it will feel realistic.
Three: In general it, this game made more perfect. I am very satisfied.

Guess you like

Origin www.cnblogs.com/chenxinxin/p/10959628.html