-
-
Save housemeow/6825581 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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