Skip to content

Instantly share code, notes, and snippets.

@housemeow
Forked from anonymous/102590008黃育舒.c
Last active December 24, 2015 16:09
Show Gist options
  • Save housemeow/6825581 to your computer and use it in GitHub Desktop.
Save housemeow/6825581 to your computer and use it in GitHub Desktop.
int battleTime = 0;
for(;;){
battle (slime*2);
battleTime=battleTime+1;
if (battleTime==1)
{
printf("打玩一場戰鬥還剩下四場");
}
else
{
if (battleTime==2){
printf("打完二場戰鬥!還剩下三場");
}
else
{
if (battleTime==3){
printf( "ㄚㄚ#")
}
else{
if (battleTime ==4){
printf("4");
}
else{
printf("恭喜過關!");
增減物品 蛋糕*10;
break;
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment