#include<graphics.h>
#include<conio.h>
#include<cstdio>
#include<time.h>
#include<cmath>
#include<stdio.h>
#include <string>
#define HEIGHT 700
#define WIDTH 400
int ball_x, ball_y;
int ball_vx, ball_vy;
int radius;
int left, right, top, bottom;
int baffle_x, baffle_y;
int baffle_size;
int baffle_move;
int brick_x, brick_y;
int brick_r;
int score;
int sleep_time;
bool isExit;
bool isLose;
void initBall() {
left = 0;
top = 0;
right = WIDTH;
bottom = HEIGHT;
ball_x = (right - left) / 2;
ball_y = (bottom - top) / 2;
ball_vx = 1;
ball_vy = 1;
radi