Skip to content

Instantly share code, notes, and snippets.

Created October 4, 2013 12:39
Show Gist options
  • Save anonymous/6825291 to your computer and use it in GitHub Desktop.
Save anonymous/6825291 to your computer and use it in GitHub Desktop.
battle=0
for(battle=1;battle<=5;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