首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写ITP4507、代做java编程设计
项目预算:
开发周期:
发布时间:
要求地区:
P a g e | 1
HONG KONG INSTITUTE OF VOCATIONAL EDUCATION
DEPARTMENT OF INFORMATION TECHNOLOGY
HIGHER DIPLOMA IN SOFTWARE ENGINEERING (IT114105)
Module Name: Contemporary Topics in Software Engineering
Module Code: ITP4507
Assignment Number: One
Hand-in: Friday 15 November, 2024 (On or before 4:30 PM to Moodle)
Weighting of This Assignment: 66.67% of the End of Module Assessment
This assignment must be done by individual only. Plagiarism will be treated seriously.
Any assignments that are found involved wholly or partly in plagiarism
(no matter the assignments are from the original authors or from the plagiarists)
will score Zero mark. Late submission will NOT be accepted.
Task Specification
Snow Storm Company develops an RPG game "Fantastic World (FW)" on the PC. The major characters in
this game are known as HERO and they have various kinds of characteristic. For example, Warrior focus on
defence and Warlock target on magic damage. Each player in this game can play more than one hero.
Currently, this game only has Warrior and Warlock. In the coming future, this game will be extended to
support more kinds of hero such as healer. The following is the simplified class diagram of existing data
maintained by FW.
P a g e | 2
As a system analyst of the Company, you are required to design and develop FW. You can get the source
codes of above classes from Moodle.
FW should provide the following functions:
1. Create a Player.
2. Add a hero (Warrior or Warlock) to the current player.
3. Remove a hero from the current player.
4. Select a player by using a player ID.
5. Call a hero's skill by a hero ID.
6. Show the detail information of current player.
7. Change the player's name of the current player.
8. Show all players.
9. Set current player.
10. Undo last command.
11. Redo the last undone command.
12. Show undo/redo list.
13. Exit System.
Your system design should conform to the Open Closed Principle so that your design should easily be
extended to support new heroes (for examples, healers, rangers etc..).
You MUST apply the following design patterns for your new system
Command pattern to provide the “create player”, “set current player”, “add hero”,
“call hero skill”, “delete hero”, “show current player”, “display all players”, “change player’s
name”. “undo”, “redo” and “show undo/redo list” functions
Factory pattern or Abstract Factory Pattern to create different kinds of Command objects and
different kinds of Player/Hero objects (e.g., Warrior object, Warlock object, Player object, etc.)
Memento pattern to provide “Undo” and “Redo” functions on the “call hero skill” and “change
player’s name” functions.
Assignment Report
In addition to the system development, you are required to write up a Short Report covers the following
sections:
1. Assumptions regarding the problem context
2. Application design with class diagram
3. Discussion and explanation on each of the design patterns applied to the application
4. Test Plan and Test Cases
5. Well documented Source Code
P a g e | 3
Mark Allocation
Your assignment work will be marked according to the following criteria.
Work Mark Allocated
System Coding and Implementation
a) Implementation of the system and coding style
(Hard-coded output will result in zero mark.)
30%
b) Correctness of system functions *
(Hard-coded output will result in zero mark.)
15%
c) Test Plan and Test Cases
(Will be used in testing your own application.)
10%
System Analysis and Design, and Discussion
d) Design of your system and correct use of design patterns 20%
e) Application design with class diagram 10%
f) Discussion and explanation on each of the design patterns
applied to the application
15%
Total 100%
Note: * Please note that your source code will be recompiled and tested for the correctness of the system
functions. Your implementation is required to support the 'Copy and Paste' method for testing which is
described in page 16.
Submission of Assignment Work
1. The front page of your submission should include the programme title(code), module title(code), and
student number and student name.
2. Submit your Java source code and your report to https://moodle.vtc.edu.hk .
Well documented Source Code of your program.
Report for analysis, design, discussion, user guide, test plan and test cases of your following work.
A. The assumption made during analysis and design of the application
B. System design on your application with class diagram
C. Discussion on the design patterns that applied on your program
D. Test Plan with Test Cases (Design your own test plan and corresponding test cases for each
function. For each test case, you should provide a SCREEN CAPTURE for test result).
3. Submit according to the guideline on the top part of cover page. Late submission will NOT be
accepted.
P a g e | 4
Extra Reference: Sample Test
Testing Method
This sample run is served for reference only. You are free to design your own user interface. But to make
the testing environment simple and to apply the "Copy and Paste" testing method described on page 16
easily, you are advised to accept user input at the command prompt as shown in the sample run below.
Sample Run of assignment
You may follow the design of user interface shown in this sample run in DOS command prompt.
For following examples, character(s) with underline is user's input.
1. Create player
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-c
Player ID:- P001
Player Name:- Thomas Yiu
Player Thomas Yiu is created.
Current player is changed to P001.
2. Add heroes to the player
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-a
Please input hero information (id, name):- H001, peter pang
Hero Type (1 = Warrior | 2 = Warlock ):- 1
Hero is added.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-a
P a g e | 5
Please input hero information (id, name):- H002, john wick
Hero Type (1 = Warrior | 2 = Warlock ):- 2
Hero is added.
3. Show the current player
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Thomas Yiu (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 0, Defence Point: 500
H002, john wick, Warlock, Hp: 100, Damage: 200, Mp: 500
4. Create another player and display all players
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-c
Player ID:- P002
Player Name:- Stan Lee
Player Stan Lee is created.
Current player is changed to P002.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-p
Player Thomas Yiu (P001)
Player Stan Lee (P002)
P a g e | 6
5. Add heroes to the player P002
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-a
Please input hero information (id, name):- H003, scarlet witch
Hero Type (1 = Warrior | 2 = Warlock ):- 2
Hero is added.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-a
Please input hero information (id, name):- H004, tony stark
Hero Type (1 = Warrior | 2 = Warlock ):- 1
Hero is added.
6. Show the current player
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Stan Lee (P002)
Heroes:
H003, scarlet witch, Warlock, Hp: 100, Damage: 200, Mp: 500
H004, tony stark, Warrior, Hp: 500, Damage: 0, Defence Point: 500
7. Set the current player by Player ID
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
P a g e | 7
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-g
Please input player ID:- P001
Changed current player to P001.
10. Call hero skill
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-m
Please input hero ID:- H001
H001 peter pang’s attributes are changed to:
H001, peter pang, Hp: 500, Damage: 250, Defence Point: 400
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Thomas Yiu (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 250, Defence Point: 400
H002, john wick, Warlock, Hp: 100, Damage: 200, Mp: 500
11. Delete hero
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-d
Please input hero ID:- H002
H002 john wick is deleted.
P a g e | 8
12. Change the name of the current player
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-t
Please input new name of the current player:- Russo Brothers
Player’s name is updated.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Russo Brothers.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Russo Brothers (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 250, Defence Point: 400
13. Show undo/redo list
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Russo Brothers.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-l
Undo List
Change player’s name, P001, Russo Brothers
Delete hero, H002
Call hero skill, H001, peter pang, Warrior, Hp: 500, Damage: 250, Defence
Point: 400
Add hero, H004, tony stark, Warrior
Add hero, H003, scarlet witch, Warlock
Create player, P002, Stan Lee
Add hero, H002, john wick, Warlock
Add hero, H001, peter pang, Warrior
P a g e | 9
Create player, P001, Thomas Yiu
-- End of undo list --
Redo List
-- End of redo list –
14. UNDO actions in UNDO list
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Russo Brothers.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-u
Command (Change player’s name, P001, Russo Brothers) is undone.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-u
Command (Delete hero, H002) is undone.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-u
Command (Call hero skill, H001, peter pang, Warrior, Hp: 500, Damage: 250,
Defence Point: 400) is undone.
P a g e | 10
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Thomas Yiu (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 0, Defence Point: 500
H002, john wick, Warlock, Hp: 100, Damage: 200, Mp: 500
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-u
Command (Add hero, H004, tony stark, Warrior) is undone.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-u
Command (Add hero, H003, scarlet witch, Warlock) is undone.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-g
Please input player ID:- P002
Changed current player to P002.
P a g e | 11
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Stan Lee (P002)
Heroes:
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-u
Command (Create player, P002, Stan Lee) is undone.
Current player is changed to P001.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-g
Please input player ID:- P002
Player P002 is not found!!
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-l
Undo List
Add hero, H002, john wick, Warlock
Add hero, H001, peter pang, Warrior
Create player, P001, Thomas Yiu
-- End of undo list --
P a g e | 12
Redo List
Create player, P002, Stan Lee
Add hero, H003, scarlet witch, Warlock
Add hero, H004, tony stark, Warrior
Call hero skill, H001, peter pang, Warrior, Hp: 1000, Damage: 500, Defence
Point: 400
Delete hero, H002
Change player’s name, P001, Russo Brothers
-- End of redo list –
15. REDO actions in REDO list
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-r
Command (Create player, P002, Stan Lee) is redone.
The current player is changed to P002.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-r
Command (Add hero, H003, scarlet witch, Warlock) is redone.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-r
Command (Add hero, H004, tony stark, Warrior) is redone.
Fantastic World (FW)
P a g e | 13
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Stan Lee (P002)
Heroes:
H003, scarlet witch, Warlock, Hp: 100, Damage: 200, Mp: 500
H004, tony stark, Warrior, Hp: 500, Damage: 0, Defence Point: 500
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-r
Command (Call hero skill, H001, peter pang, Warrior, Hp: 500, Damage: 250,
Defence Point: 400) is redone.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-g
Please input player ID:- P001
Changed current player to P001.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Russo Brothers.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-s
Player Russo Brothers (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 250, Defence Point: 400
H002, john wick, Warlock, Hp: 100, Damage: 200, Mp: 500
P a g e | 14
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-l
Undo List
Call hero skill, H001, peter pang, Warrior, Hp: 1000, Damage: 500, Defence
Point: 400
Add hero, H004, tony stark, Warrior
Add hero, H003, scarlet witch, Warlock
Create player, P002, Stan Lee
Add hero, H002, john wick, Warlock
Add hero, H001, peter pang, Warrior
Create player, P001, Thomas Yiu
-- End of undo list --
Redo List
Delete hero, H002
Change player’s name, P001, Russo Brothers
-- End of redo list –
- END OF SAMPLE TEST –
P a g e | 15
You can ease the testing by using the 'Copy and Paste' method rather than inputting data manually. Prepare a text file,
which includes all user inputs in a test run. By using the 'Copy and Paste' method, you can automatically input in the
command prompt window and then get the result automatically (without the input data echoed). The following is an
example of the text file for user inputs.
Sample User Inputs for a Test Run
c
P001
Thomas Yiu
a
H001, peter pang
1
a
H002, john wick
2
s
c
P002
Stan Lee
p
a
H003, scarlet witch
a
H004, tony stark
1
s
g
P001
m
H001
s
d
H002
t
Russo Brothers
s
l
u
u
u
s
u
u
g
P002
s
u
g
P002
l
r
r
r
s
P a g e | 16
r
g
P001
s
l
x
Expected Output of the Test Run
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :Player
ID:- Player Name:-
Player Thomas Yiu is created.
Current player is changed to P001.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-
Please input hero information (id, name):- Hero Type (1 = Warrior | 2 = Warlock
):-
Hero is added.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Please
input hero information (id, name):- Hero Type (1 = Warrior | 2 = Warlock ):-
Hero is added.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Player
Thomas Yiu (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 0, Defence Point: 500
H002, john wick, Warlock, Hp: 100, Damage: 200, Mp: 500
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
P a g e | 17
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Player
ID:- Player Name:-
Player Stan Lee is created.
Current player is changed to P002.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Player
Thomas Yiu (P001)
Player Stan Lee (P002)
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Please
input hero information (id, name):- H003, scarlet witch
Hero Type (1 = Warrior | 2 = Warlock ):- 2
Hero is added.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Silent Hill.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-
aPlease input hero information (id, name):- H004, tony stark
Hero Type (1 = Warrior | 2 = Warlock ):- 1
Hero is added.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Player
Stan Lee (P002)
Heroes:
H003, scarlet witch, Warlock, Hp: 100, Damage: 200, Mp: 500
H004, tony stark, Warrior, Hp: 500, Damage: 0, Defence Point: 500
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P002 Stan Lee.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Please
input player ID:- P001
Changed current player to P001.
P a g e | 18
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Please
input hero ID:- H001
H001 peter pang’s attributes are changed to:
H001, peter pang, Hp: 500, Damage: 250, Defence Point: 400
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Player
Thomas Yiu (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 250, Defence Point: 400
H002, john wick, Warlock, Hp: 100, Damage: 200, Mp: 500
11. Delete hero
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Please
input hero ID:- H002
H002 john wick is deleted.
12. Change the name of the current player
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Thomas Yiu.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Please
input new name of the current player:- Russo Brothers
Player’s name is updated.
Fantastic World (FW)
c = create player, g = set current player, a = add hero, m = call hero skill, d
= delete hero, s = show player, p = display all players, t = change player’s
name, u = undo, r = redo, l = list undo/redo, x = exit system
The current player is P001 Russo Brothers.
Please enter command [ c | g | a | m | d | s | p | t | u | r | l | x ] :-Player
Russo Brothers (P001)
Heroes:
H001, peter pang, Warrior, Hp: 500, Damage: 250, Defence Point: 400
Fantastic World (FW)
c = create player, g = set curren
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!