十二月 11, 2007 由 fungtingpong
張貼於Java Programming | 張貼留言 »
十二月 7, 2007 由 fungtingpong
http://www.sendspace.com/file/1thv9j

這遊戲是逃出嶺南NAB系列中的第一隻 → 「脫逃!!!NAB204!!!」
這遊戲是屬於推理解謎類﹐進行模式與結構類似「逃出房間」
遊戲講述一個學生在NAB204下課後覺得疲累﹐但又要等組員討論某科project﹐所以在NAB204睡了一會。當他睡醒﹐發現整個房間烏燈黑火﹐所以他去開燈﹐之後去開門﹐發現門已被鎖﹐然後看鐘,發現自己竟然睡了近兩小時﹗結果他就開始想辦法逃離204了。
這遊戲Design by Escape Group
Escape Group Member :
-Designer : Ash Ching
-Programmer : Roy Fung
張貼於Java Programming | 張貼留言 »
十月 16, 2007 由 fungtingpong
http://hk.geocities.com/tpfung2006/Player.java
http://hk.geocities.com/tpfung2006/Player.java
http://hk.geocities.com/tpfung2006/Player.class
http://hk.geocities.com/tpfung2006/PlayerTest.java
http://hk.geocities.com/tpfung2006/PlayerTest.class
This game are two players fighting, each of their power are 100. One player attacks the other. The winner, determined by random, receives the difference between the power of the players before the attack. The loser, on the other hand, loses the same amount. For example, consider that Pong and Lam have 99 and 101 points of power respectively before the attack. If Lam wins the attack, then Pong’s power would become 97, and Lam’s power would become 103:
Pong: 99 -> 97
Lam: 101-> 103
If the difference is zero before the attack, then use 1 as the difference. For example, consider that Pong and Lam also have 100 points of power respectively before the attack. If Lam wins the attack, then Pong’s power would become 99, and Lam’s power would become 101:
Pong: 100 -> 99
Lam: 100-> 101
The process is repeated until one player is dead, which occurs when the power becomes negative. End the game and display the power of all the users.
張貼於Java Programming | 張貼留言 »