不知道如何通过点击菜单的开始游戏进入游戏界面

怎么点鼠标都进不去游戏,而且不知道怎么通过菜单下一步就是进入游戏,麻烦你们帮我看一下,谢谢(*°∀°)=3
void menu();
void putbackground();
void draw_line();
void draw_point();
void initpiece();
int k=-1;//-1表示白棋子先下
int x, y;
int choice;
IMAGE bgp;
IMAGE kkl;
int piece[15][15];

void menu()
{
initgraph(527, 372);
loadimage(0,_T("kkl.jpg"));
settextcolor(RED);
setbkmode(TRANSPARENT);
outtextxy(215, 300,_T("正在加载游戏..."));
rectangle(50, 50, 50, 50);
settextcolor(BLACK);
settextstyle(50, 0, _T("行书"));
outtextxy(45, 160, _T("欢迎进入五子棋游戏"));
setlinecolor(BLACK);
setfillcolor(WHITE);
fillrectangle(190, 220, 340, 260);
settextstyle(25,0,_T("行书"));
outtextxy(215, 230, _T("开始游戏"));
MOUSEMSG mouse;
while (1==1)
{
mouse = GetMouseMsg();//获取鼠标信息
switch (mouse.uMsg)
{
case WM_LBUTTONDOWN://鼠标左键按下
if (mouse.x > 190 && mouse.x < 220 && mouse.y>260 && mouse.y < 340)
{
cleardevice();
return ;
}
}
system("pause");

}

}

void putbackground()
{
putimage(0, 0, 240, 240, &bgp, 60, 60);
putimage(240, 0, 240, 240, &bgp, 60, 60);
putimage(0, 240, 240, 240, &bgp, 60, 60);
putimage(240, 240, 240, 240, &bgp, 60, 60);

}

void draw_line()
{
setlinecolor(BLACK);
for (int x = 15; x < 480; x += 30)
line(x, 15, x, 465);
for (int y = 15; y < 480; y += 30)
line(15, y, 465, y);

}

void draw_point()
{
setfillcolor(BLACK);
fillcircle(105, 105, 3);
fillcircle(105, 345, 3);
fillcircle(225, 225, 3);
fillcircle(345, 105, 3);
fillcircle(345, 345, 3);

}

void initpiece()
{
for (int i = 0; i < 15; i++)
for (int j = 0; j < 15; j++)
piece[i][j] = 0;

}

int change_piece(int x, int y)
{
if (piece[x][y] != 0)
return 0;
else
piece[x][y] = k;
return 1;
}

void draw_piece(int m, int n)
{
if (k == -1)
setfillcolor(WHITE);
else if (k == 1)
setfillcolor(BLACK);
int x, y;
x = m / 30 + 1;
y = n / 30 + 1;
if (change_piece(x,y) == 0)
return;
fillcircle(m - (m % 30) + 15, n - (n % 30) + 15, 13);
k *=-1;

}
int check_five_piece(int x, int y)
{
if (x < 2 || y < 2 || x>12 || y>12)
return 0;
if (piece[x][y] == piece[x - 1][y] && piece[x][y] == piece[x - 2][y] && piece[x][y] == piece[x + 1][y] && piece[x][y] == piece[x + 2][y])
return 1;
if (piece[x][y] == piece[x][y - 1] && piece[x][y] == piece[x][y - 2] && piece[x][y] == piece[x][y + 1] && piece[x][y] == piece[x][y + 2])
return 1;
if (piece[x][y] == piece[x - 1][y - 1] && piece[x][y] == piece[x - 2][y - 2] && piece[x][y] == piece[x + 1][y + 1] && piece[x][y] == piece[x + 2][y + 2])
return 1;
if (piece[x][y] == piece[x - 1][y + 1] && piece[x][y] == piece[x - 2][y + 2] && piece[x][y] == piece[x + 1][y - 1] && piece[x][y] == piece[x + 2][y - 2])
return 1;
return 0;

}
int check_over()
{
for(int i=0;i<15;i++)
for (int j = 0; j < 15; j++)
{
if (piece[i][j] == 0)
continue;
if (check_five_piece(i, j) == 1)
return 1;
}

}

int main(void)
{
menu();//显示菜单
initgraph(480, 480);//搭建背景
loadimage(&bgp, _T("background.jpg"));
settextcolor(RED);
settextstyle(42, 20, _T("行书"));
setbkmode(TRANSPARENT);
putbackground();
draw_line();
draw_point();
MOUSEMSG m;
while(1)
{
m = GetMouseMsg();
if (m.uMsg == WM_LBUTTONDOWN)//鼠标左键是否按下
{
draw_piece(m.x, m.y);
}
if (check_over() == 1)
{
outtextxy(160, 220, _T("游戏结束"));
system("pause");
return 0;
}
}
return 0;

img