2019 second experiment report

Spring 2019 second course is designed to report
a experimental project name
"airplane game"
Second, the experimental project function

  1. Complex aircraft can be displayed, and the aircraft can be moved up and down
  2. It can be displayed linearly movable downwardly enemy
  3. Aircraft capable of emitting bullets can hit the enemy fighter moves
  4. Disappeared after each enemy is hit, then the display appears random enemy column and first row of the screen
  5. Calculating a score
    III.Project modular structure
    HideCursor (); // hides the screen display of the cursor, the cursor is to solve the flickering problem
    startup (); // initialize data
    show (); // display screen
    updateWithoutInput (); // independent of user input update
    updateWithInput (); // user input and update related to the operation of the aircraft
    gotoxy (); // move the cursor to the origin, to solve the problem of the game screen flicker
    main (); // loop through constant while the weight of the game screen write, so that the display screen is not stopped, can operate the display screen
    Attaining interface

V. code hosting links
[email protected]: liuwei17377784413 / software_class_2_no1.git
six experiments summarized
the overall structure of the game have yet to understand.
Learn a bit slow progress
feelings: it takes more time to learn

Guess you like

Origin www.cnblogs.com/lijian666/p/10956378.html