好好學習.天天向上

嶺南大學社區學院 資訊科技、數學及科學組

Archive for September 29th, 2007

ISM001: Simple Text Fighter

with 3 comments

Dear ISM001 students,

Homework 1 has been released. This homework covers Chapters 2 to 5 of your textbook. Please follow the instructions and submit your work by 18 October 2007.

Some example outputs:

Java Simple Text Fighter! v20070928

== Round 1 ==
Player Ho Yin’s power = 100
Player Justin’s power = 100
Justin attacks Ho Yin!
Justin wins
== Round 2 ==
Player Ho Yin’s power = 99
Player Justin’s power = 101
Justin attacks Ho Yin!
Justin wins
== Round 3 ==
Player Ho Yin’s power = 97
Player Justin’s power = 103
Justin attacks Ho Yin!
Justin loses

Written by 張真人

September 29th, 2007 at 12:50 pm

Posted in ISM001

Close
E-mail It