#include
#include
#include
#include
int position_x,position_y;
int bullet_x,bullet_y;
int high,width;
int enemy_x,enemy_y;
int score;
void gotoxy(int x,int y)
{
HANDLE handle=GetStdHandle(STD_OUTPUT_HANDLE);
COORD pos;
pos.X=x;
pos.Y=y;
SetConsoleCursorPosition(handle,pos);
}
void HideCursor()
{
CONSOLE_CURSOR_INFO cursor_info={1,0};
SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE),&cursor_info);
}
void startup()
{
high=18;
width=30;
position_x=high/2;
position_y=width/2-7;
bullet_x=-1;
bullet_y=position_y;
enemy_x=0;
enemy_y=width/2;
score=0;
}
void show()
<