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)
- Control aircraft movement
- Aircraft display complex patterns
- Emitting laser
- Target practice
- Refactoring
- The new bullet
- Stationary enemy
- Enemy movement
- Hit the enemy
- Blanking feature
Fourth, implement the interface display (screenshot)
V. code hosting links
https://gitee.com/LILI6/LI
Sixth, test summary (questions + + solution feelings)
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 quotesI 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