#includeint bullet_x,bullet_y;
int enemy_x,enemy_y;
int high_max,width_max;
int score;
int x,y;
void gotoxy(int,int);
void picture();
void changed();
void start();
void show();
void other();
void Hide();
int main(){
SetConsoleTitleA("hit planes"); //设置窗口名称。
system("mode con cols=30 lines=22"); //设置窗口大小。
start();
while(1){ //循环。
Hide();
show();
other();
changed();
}
return 0;
}
void gotoxy(int x, int y){ //坐标函数。
COORD coord;
coord.X = x;coord.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
void start(){ //参数设置。
high_max = 20; //长度。即X轴。
width_max = 30; //宽度。即Y轴。
x = high_max / 2; //战机坐标。