Freitag, 19. September 2008

EE5805 Java Project-Hearts-1

EE3206/EE5805 Java Programming and Applications

Project Part I – Problem Analysis

Background

CitySoft is a software company and the leading solution provider in the market. You
are working in the Java team to develop Java-based applications and systems. Your
team has just received a new project about a popular card game named Hearts that is
also a widespread computer game as packaged in Microsoft Windows XP.

Basically,the client wants to make a Java clone of MS Windows Hearts with a few additional features and modifications.

Figure 1. Microsoft Windows XP Hearts

1. Rename the players as East, North, West and South according to their position.
2. Enable both graphical and text mode display.
3. Enable following cheat codes:

Cheat code syntax (case insensitive) Example Remarks
a) set [east/south/west/north] [score] set east 30 Change players’ scores.
b) void [spade/heart/diamond/club] void diamond Remove a suit from human player by
exchanging with other players’ cards
on hand randomly.
c) shootmoon shootmoon Human player incurs all point cards of
preceding tricks.
d) visible [true/false] visible true Turn over all players’ cards.


Requirement Analysis

Now, you are asked to analyze this card game system and document the system
requirements with the following things:

1. A brief summary of the game play

- For ease of reading, you should list out the steps or instructions in point form
with short sentences. You may also divide the game play into different sections
based on the game states if it is too long.

2. Use Cases and Use Case Diagrams

- Draw use case diagram(s) to demonstrate the functional requirements as well as
any entities involved.
- Use cases should be detailed with a sequence of actions and responses between
the actor and system. Alternative flows, if any, should also be shown. You may
tabulate the actions and responses in each use case for ease of reading.

Submission

Upload your document to Blackboard before 8pm in 1st October 2008. Your document
should be well-formatted based on the guidelines below:

1. Filename
- Since all students upload to the same pool, please rename your file as
Hearts_Group_NN.doc (e.g. Hearts_Group_05.doc).

2. Cover page
- Show your Name, Student ID, Group Number, Course Code and Last
Modification Dates.

3. UML tools
- Do not use the MS Word built-in drawing tools for the UML diagrams. You
should use some specialized drawing or modeling tools. Some of them are
available for free (see references). Others like Visio and Poseidon for UML are
also good but costly.

References

Wikipedia, Hearts (Window) - http://en.wikipedia.org/wiki/Hearts_(Windows)

Videocast, How to play Hearts - http://www.utipu.com/app/tip/id/398

JUDE Community Edition - https://jude.change-vision.com/jude-web/index.html

UMLet - http://www.umlet.com/




Keine Kommentare: