Skip to content

Instantly share code, notes, and snippets.

@housemeow
Forked from anonymous/102590043洪紹晏.c
Last active December 24, 2015 16:09
Show Gist options
  • Save housemeow/6825401 to your computer and use it in GitHub Desktop.
Save housemeow/6825401 to your computer and use it in GitHub Desktop.
int battle=0;
for(battle=1;battle<=5;battle++)
{
battle(slime, 2);
switch(battle)
{
case 1:printf("打完一場戰鬥還剩下4場\n");break;
case 2:printf("打完一場戰鬥還剩下3場\n");break;
case 3:printf("ㄚㄚ#\n");break;
case 4:printf("4\n");break;
case 5:printf("恭喜過關! 增減物品 蛋糕*10 \n");break;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment