The first experimental curriculum design report

2019 Spring first course design lab reports
an experimental project name

Aircraft game

Second, the experimental project functional description (in their own language)

Write a simple airplane game with c language, the user can manipulate the aircraft to move, shoot, hit the enemy

Third, the project introduces a modular structure (text + overall model)

  1. Control aircraft movement
  2. Aircraft display complex patterns
  3. Emitting laser
  4. Target practice
  5. Refactoring
  6. The new bullet
  7. Stationary enemy
  8. Enemy movement
  9. Hit the enemy
  10. Blanking feature

Fourth, implement the interface display (screenshot)

V. code hosting links
https://gitee.com/LILI6/LI

Sixth, test summary (questions + + solution feelings)

  1. Encountered a problem: in the beginning discovered when control of the aircraft with scanf, my plane does not move
    solution: for a long time only to find reasons for the judgment only because I control a, s, d, w when using double quotes

  2. I encountered a problem: the shape of the aircraft's right
    solution: a space to adjust the location *


Thoughts: The code is very strict, not a hint of error, it would be difficult to find out where the error

Guess you like

Origin www.cnblogs.com/LILI6/p/10960314.html