master
2483890081@qq.com 6 years ago
parent bd03850028
commit f10be4b679

@ -0,0 +1,34 @@
DoWin(int v)
{
int n;
Initialize();
system("cls"); /*清屏*/
system("color F0"); /*设置颜色*/
if(v==1)
printf(" 黑方获得了胜利! \n");
if(v==2)
printf(" 白方获得了胜利! \n");
printf("\n\n\t╔──────────────────╗\n");
printf("\t║如 ║\n");
printf("\t║ 果 ║\n");
printf("\t║ 还 ║\n");
printf("\t║ 想 ║\n");
printf("\t║ 在 ║\n");
printf("\t║ 来 ║\n");
printf("\t║ 一 ║\n");
printf("\t║ 局 ║\n");
printf("\t║ 请 ║\n");
printf("\t║ 输 ║\n");
printf("\t║ 1 ║\n");
printf("\t║ 离 ║\n");
printf("\t║ 开 ║\n");
printf("\t║ 请 ║\n");
printf("\t║ 输 ║\n");
printf("\t║ 2 ║\n");
printf("\t║ ║\n");
printf("\t║ ║\n");
printf("\t╚━━━━━━━━━━━━━━━━━━╝\n");
scanf("%d",&n);
if(n==1)
printf("请按任意键继续");
if(n==2)

@ -74,3 +74,37 @@ printf("\t
printf("\t¨^¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨T¨a\n");
getch();
}
DoWin(int v)
{
int n;
Initialize();
system("cls"); /*清屏*/
system("color F0"); /*设置颜色*/
if(v==1)
printf(" 黑方获得了胜利! \n");
if(v==2)
printf(" 白方获得了胜利! \n");
printf("\n\n\t╔──────────────────╗\n");
printf("\t║如 ║\n");
printf("\t║ 果 ║\n");
printf("\t║ 还 ║\n");
printf("\t║ 想 ║\n");
printf("\t║ 在 ║\n");
printf("\t║ 来 ║\n");
printf("\t║ 一 ║\n");
printf("\t║ 局 ║\n");
printf("\t║ 请 ║\n");
printf("\t║ 输 ║\n");
printf("\t║ 1 ║\n");
printf("\t║ 离 ║\n");
printf("\t║ 开 ║\n");
printf("\t║ 请 ║\n");
printf("\t║ 输 ║\n");
printf("\t║ 2 ║\n");
printf("\t║ ║\n");
printf("\t║ ║\n");
printf("\t╚━━━━━━━━━━━━━━━━━━╝\n");
scanf("%d",&n);
if(n==1)
printf("请按任意键继续");
if(n==2)

Loading…
Cancel
Save