Вы находитесь на странице: 1из 3

CSD2221 Workflow Modelling Assignment 2017/18

Deadline for submission: February 9th, 17:00

Please read all of this assignment specification carefully first, before asking your tutor any
questions.

Introduction
This assignment involves the creation of workflow models for the scenario (i.e., domain description)
given below. All workflow models must be presented as UML activity diagrams. Accordingly, the
assessment will take into account both the completeness of the presented workflow and the
technical correctness of UML syntax.

Domain description
You are required to model workflow for a simple team-based card game that is based on an animal
quiz (i.e., it comprises simple questions and answers). Examples of the quiz cards are illustrated by
Figure 1 below the explanation of how to play the game.

How to play the animals quiz card game

Split into two teams, and decide how many rounds of play there will be for the game.

Shuffle the pack (which has 100 cards) and deal five cards to each team. Five cards per team
represents one round of play.

Each card is specific to an animal. On one side of the card there are five questions, numbered one to
five, and on the reverse side of the card are the corresponding five correct answers.

This is a game of sudden death. Both teams take it in turns to read question one (i.e., the first
question on the card) to the other team. Obviously, each team will be asking questions about a
different animal in each round.

If one team answers their question correctly and the other team answers their question incorrectly,
then the team that answered correctly wins both cards (the pair), collects the cards and puts them
to one side. Once a team wins three pairs of cards, that team wins the round.

If both teams get the answer right, or both teams get the answer wrong, then each team moves
onto question two of the same card. The questions and answers continue until one team gets a
question right and the other team gets a question wrong.

If both teams get all five questions right (or get all five questions wrong), then it is a tie. Both teams’
current cards are put in the middle of the table and the teams move onto their next card. When one
team gets an answer right and the other team gets an answer wrong, the winning team wins the pair
and the tied pile from the table.

If all five cards are used and it’s still a tie (i.e., each team has won two pairs, and each team gets all
five questions correct or incorrect on the fifth card), then each team is dealt a fresh card from the
pack, and the round carries on until there is a clear winner.

1
Figure 1: Example cards (front: questions, back: answers)

2
Task 1

Create a UML activity model (or series of activity models) to represent the real quiz-based card game
as described above (i.e., a real game that takes place with real people and real cards – not a
computer game). Your workflow(s) should present all specific detail of how a game is played as
described above.

Task 2

Create an activity model (or series of activity models) for the animal quiz card game, only this time
for a proposed computer system that is specifically for two players to play the game over a network,
i.e., as networked clients. The game should be controlled by a remote host (server). More
specifically, this client/server configuration is balanced such that the server is ‘thick’ and the client is
‘thin’. This means that the key work (or logic) in controlling the game (such as dealing, presenting
the questions, evaluating answers, maintain player hands, maintaining the tied pile if there is one,
checking for an overall round and game winner etc.) is performed by the server (host), whereas the
client-side performs relatively little logic. In this proposed system, the remote clients would only
have responsibility for answering a question. Once an answer is given, the server side controller
takes care of all of the game logic and presents updated screens to the clients for either the next
question on the same card, or next card if one player wins the previous card pair. You can assume
that there are a fixed number of five rounds for this proposed online version of the game.

What to submit

You should submit a single MS Word document containing your models for both tasks.

The document should have a front page with your name and student number clearly visible.

The document should be submitted by the assignment upload link provided in the Week 16 folder of
the course Unihub portal by the specified deadline.

Notes

You are strongly urged to use a UML-specific diagram editor such as Umlet (www.umlet.com).
Correct syntax will be taken into account when the models are assessed.

All diagrams created in Umlet must be imported into the MS word document that is submitted. We
will not be assessing Umlet files, only the MS Word document.

With workflow modelling, there is no single, perfect, solution. There can be numerous valid
variations. The work will be assessed accordingly, but the workflow models should represent an
accurate reflection of the game as described. Logical correctness and UML syntax are important.

Вам также может понравиться