2019 First course design experiment report

First, the pilot project name
birdie big battle cum flappy bird (third chapter)
Second, the experimental project functional description
of the project for the action game, is achieved by the five custom functions, their functions are: data initialization, motion picture display, the player has nothing to do with the output, to achieve about the player output.
The main features of the project are: to achieve the spacebar to control the bird rises to avoid obstacles to earn points and eventually "You're the best student I took over the" achievement to customs clearance.
Third, the project introduces a modular structure
[A] project model:

[Two] text description:
Custom Function a module: void jiaozhun (int x, int y) the cursor is moved to the calibration position (x, y).
Custom Function two modules: the initialization prior to the start void kaishi (void) game, clearing the previous data.
Custom Function three modules: void huamian (void) display screen, represented by birds>, with | expressed disorders, represented by an outlet, and outputs the resultant integration.
Custom function four modules: data no relationship with the player void wanjia_dabaizi (void) updated to include the text after the player failed output, as well as the birds hit the wall judgment.
Custom Functions five modules: void wanjia_caozuo (void) update data associated with the player, the player is the bird flew up by pressing the spacebar.
The main function modules: five calls a custom function module implements the project functions.
Fourth, implement the interface display

五, 代码托管链接
https://gitee.com/hhyxtrmz/nuclear_fusion
六, 实验总结
【一】 问题
头文件#include<cwindow.h>出错

【二】 解决
将cwindow改为windows
【三】 感想
就算是教科书也有出错的地方啊,看来我们还是要实事求是。

Guess you like

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