This commit is contained in:
iridiumR 2021-10-28 00:20:29 +08:00
parent 24618eef54
commit 000670f603

View file

@ -90,10 +90,13 @@ Begin:
int round = 1;
int finish_num = 0;
printf("发牌完成,选择你的操作:\n");
while (finish_num < 3)
while (finish_num < 2&&round<54)
{
printf("+++++===========================+++++\n ÂÖ´Î%d \n+++++===========================+++++\n", round);
A:
if (pass_num > 3 - finish_num)
pass_num = 3 - finish_num;
printf("+++++===========================+++++\n 쫴늴%d \n+++++===========================+++++\n", round);
if (p1.getSize())
{
@ -115,7 +118,7 @@ Begin:
pass_num++;
goto B;
}
A:
printf("1出牌2查看牌堆");
scanf("%d", &opt);
switch (opt)
@ -152,6 +155,8 @@ Begin:
goto A;
}
}
else
printf("鯤소A쫴왕\n");
B:
if (p2.getSize())
{
@ -188,6 +193,8 @@ Begin:
}
}
}
else
printf("鯤소B쫴왕\n");
C:
if (p3.getSize())
{
@ -224,6 +231,8 @@ Begin:
}
}
}
else
printf("鯤소C쫴왕\n");
round++;
}
printf("=====================================\n");