#include <graphics.h>
#include <conio.h>
#include <stdlib.h>
#include <time.h>
//全局变量
int
high,width;
//游戏尺寸
int
ball_x,ball_y,ball_r;
//球
int
board_x,board_y,board_long,board_bottom;
//木板
int
gaol_x,gaol_y,gaol_long;
//目标
int
velocity_x,velocity_y;
//速度
void
startup()
{
high=540;width=480;
//游戏尺寸
ball_y=30;ball_x=width/3;ball_r=15;
//球的坐标
board_y=high/2;board_x=width/2;
//木板
board_long=150;board_bottom=10;
gaol_y=2;
gaol_x=width/2;
gaol_long=20;
//目标第一个点的坐标