Download the Java Files by this link:Travelling problem
and the pic result is
and the PowerPoint that we had used can be seen in this link:
Download the Java Files by this link:Travelling problem
and the pic result is
and the PowerPoint that we had used can be seen in this link:
Download the Java Files by this link:TextFighter
The two Java files that I upload is a simple text program based on Little Fighter.
It is a simple game that two players attack each other until one of the Fighter is dead.
If you want to know much clearly of the game rules, go to ISM001 Homework 1 to have a throughly look.
The result is in below:
Welcome to the TextFighter Ver. 20071014!
== Round1 ==
Ho Yin has 100 power
Justin has 100 power
Ho Yin attacks Justin!
Ho Yin Loses..
Ho Yin gets 1 damage!
== Round2 ==
Ho Yin has 99 power
Justin has 101 power
Ho Yin attacks Justin!
Ho Yin wins!
Justin gets 2 damage!
== Round3 ==
Ho Yin has 101 power
Justin has 99 power
Ho Yin attacks Justin!
Ho Yin wins!
Justin gets 2 damage!
== Round4 ==
Ho Yin has 103 power
Justin has 97 power
Ho Yin attacks Justin!
Ho Yin wins!
Justin gets 6 damage!
== Round5 ==
Ho Yin has 109 power
Justin has 91 power
Ho Yin attacks Justin!
Ho Yin wins!
Justin gets 18 damage!
== Round6 ==
Ho Yin has 127 power
Justin has 73 power
Ho Yin attacks Justin!
Ho Yin wins!
Justin gets 54 damage!
== Round7 ==
Ho Yin has 181 power
Justin has 19 power
Ho Yin attacks Justin!
Ho Yin Loses..
Ho Yin gets 162 damage!
== Round8 ==
Ho Yin has 19 power
Justin has 181 power
Ho Yin attacks Justin!
Ho Yin wins!
Justin gets 162 damage!
== Round9 ==
Ho Yin has 181 power
Justin has 19 power
Ho Yin attacks Justin!
Ho Yin wins!
Justin gets 162 damage!
Justin is killed!
== Game over ==
Ho Yin remains 343 power.
Justin remains -143 power.