2019 second course is designed to test report

First, the name of the pilot project
aircraft - single-handedly to attend the meeting-cum-combat game machine (Chapter third)
Second, the experimental project functional description
of the project as a class action shooting game, implemented by the five custom function, and its function It is: cursor initialization, data initialization, a display screen, user-independent update process, the update process associated with a user.
The main features of the project are: to achieve fighter can move with awsd control the direction and with the spacebar to shoot, the purpose of survival.
Third, the project introduces a modular structure
[A] Project Model:
Project List

[Two] text description:
Custom Function a module: void gotoxy (int x, int y) the cursor is moved to the calibration position (x, y).
Custom Function two modules: void startup (initialization before the start of the game), the preceding data cleared.
Custom function three modules: void show (), represented by @ aircraft with | express bullets, denoted export, and output the resulting points.
Custom function four modules: data () with the players no relation to void updateWithoutInput update, containing the text after the player failed output, as well as aircraft of offensive and defensive determination.
Custom Functions five modules: void updateWithInput () and player-related data updates, is the player keys to control the aircraft.
The main function modules: five calls a custom function module implements the project functions.
Fourth, implement the interface display

V. code hosting links
https://gitee.com/hhyxtrmz/nuclear_fusion
six experiments are summarized
[a] problem
when entering a void less input d

【二】 解决
将d补上去或者干脆删掉voi
【三】 感想
所有的问题都会有丰富的解决办法,并不是教科书上写的那么一两种,我们要拓宽我们的思维!

Guess you like

Origin www.cnblogs.com/xgzq000000/p/10956602.html