Skip to content

Instantly share code, notes, and snippets.

@housemeow
Last active December 24, 2015 15:59
Show Gist options
  • Save housemeow/6825202 to your computer and use it in GitHub Desktop.
Save housemeow/6825202 to your computer and use it in GitHub Desktop.
變量操作 battleTime = 0;
循環
戰鬥處理 slime*2
如果 便量battleTime==1
顯示文字 打文一場戰鬥還剩下四場
否則
如果便量 battleTime==2
打完二場戰鬥!還剩下三場
否則
如果便量 battleTime==3
顯示文字 ㄚㄚ#
否則
如果便量 battleTime ==4
顯示文字4
否則
恭喜過關!
增減物品 蛋糕*10
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment