好好學習.天天向上

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

ISM001: The Fighters’ Universe

with one comment

Dear ISM001 students,

First of all, let me remind you that we have no class on this Friday because of the congregation ceremony. But don’t worry. I have prepared another time-killing homework assignment for you, namely the Fighters’ Universe. Just follow the instructions and submit your work by 12 December 2007.

The previous Simple Text Fighter can be found here.

Some example outputs:

Java Fighters' Universe! v20071112
== Round 1 ==
Boss Florence attacks Boss Janice!
Boss Florence loses
*** Boss Florence: 10 -> 10
*** Boss Janice: 10 -> 12
== Round 2 ==
Ho Yin attacks Justin!
Ho Yin loses
*** Ho Yin: 10 -> 9
*** Justin: 10 -> 11
== Round 3 ==
Justin attacks Boss Janice!
Justin loses
*** Justin: 11 -> 10
*** Boss Janice: 12 -> 14
== Round 4 ==
Ho Yin attacks Justin!
Ho Yin wins
*** Ho Yin: 9 -> 10
*** Justin: 10 -> 9

== Round 5 ==
Justin attacks Ho Yin!
Justin loses
*** Justin: 9 -> 8
*** Ho Yin: 10 -> 11
== Round 6 ==
Justin attacks Boss Janice!
Justin wins
*** Justin: 8 -> 14
*** Boss Janice: 14 -> 11
== Round 7 ==
Boss Florence attacks Ho Yin!
Boss Florence wins
*** Boss Florence: 10 -> 12
*** Ho Yin: 11 -> 10
== Round 8 ==
Justin attacks Boss Janice!
Justin wins
*** Justin: 14 -> 17
*** Boss Janice: 11 -> 10
== Round 9 ==
Ho Yin attacks Boss Florence!
Ho Yin loses
*** Ho Yin: 10 -> 8
*** Boss Florence: 12 -> 16
== Round 10 ==
Ho Yin attacks Boss Janice!
Ho Yin loses
*** Ho Yin: 8 -> 6
*** Boss Janice: 10 -> 14
== Round 11 ==
Boss Janice attacks Boss Florence!
Boss Janice loses
*** Boss Janice: 14 -> 13
*** Boss Florence: 16 -> 20
== Round 12 ==
Boss Florence attacks Ho Yin!
Boss Florence loses
*** Boss Florence: 20 -> 13
*** Ho Yin: 6 -> 20
== Round 13 ==
Boss Janice attacks Boss Florence!
Boss Janice wins
*** Boss Janice: 13 -> 15
*** Boss Florence: 13 -> 13
== Round 14 ==
Boss Florence attacks Ho Yin!
Boss Florence wins
*** Boss Florence: 13 -> 27
*** Ho Yin: 20 -> 13
== Round 15 ==
Ho Yin attacks Boss Janice!
Ho Yin wins
*** Ho Yin: 13 -> 15
*** Boss Janice: 15 -> 14
== Round 16 ==
Boss Janice attacks Justin!
Boss Janice wins
*** Boss Janice: 14 -> 20
*** Justin: 17 -> 14
== Round 17 ==
Boss Janice attacks Ho Yin!
Boss Janice loses
*** Boss Janice: 20 -> 18
*** Ho Yin: 15 -> 20
== Round 18 ==
Justin attacks Boss Florence!
Justin loses
*** Justin: 14 -> 1
*** Boss Florence: 27 -> 53
== Round 19 ==
Justin attacks Boss Janice!
Justin wins
*** Justin: 1 -> 18
*** Boss Janice: 18 -> 10
== Round 20 ==
Justin attacks Boss Florence!
Justin wins
*** Justin: 18 -> 53
*** Boss Florence: 53 -> 36
== Round 21 ==
Boss Janice attacks Boss Florence!
Boss Janice wins
*** Boss Janice: 10 -> 62
*** Boss Florence: 36 -> 23
== Round 22 ==
Boss Florence attacks Boss Janice!
Boss Florence loses
*** Boss Florence: 23 -> 4
*** Boss Janice: 62 -> 140
== Round 23 ==
Ho Yin attacks Boss Florence!
Ho Yin wins
Boss Florence is killed!
*** Ho Yin: 20 -> 36
*** Boss Florence: 4 -> -4
== Game over ==
*** Ho Yin's power = 36
*** Justin's power = 53
*** Boss Janice's power = 140
*** Boss Florence's power = -4

Powered by ScribeFire.

Written by 張真人

November 12th, 2007 at 3:44 pm

Posted in ISM001

One Response to 'ISM001: The Fighters’ Universe'

Subscribe to comments with RSS or TrackBack to 'ISM001: The Fighters’ Universe'.

  1. [...] ISM001: The Fighters’ Universe [...]

Leave a Reply

Close
E-mail It