You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Back to Main Page

GR1 - Task analysis

User analysis

There is basically just one user class, someone that plays card games. Following are some examples of people that would find MetaDeck useful.
 

Tim is a college student. He likes to play all sorts of card games. He plays cards with his friends every now and then, but they play different games all the time. Instead of having to use different sites for playing various card games, and having to maintain user accounts at each site and learning different interfaces, he could just use MetaDeck every time.

Jack is an Asian parent. He plays this Asian card game called tractor on weekends with his Asian parent buddies. He recently moved far away and can't play with them live anymore. They can't find any sites that support playing tractor online, but he knows that he can always use MetaDeck.

Ashey is a high school student. She and her friends invented this new card game, and they want to play it online. They don't know how to program, so they can't make their own multiplayer card game client for this new game. Fortunately, they can use MetaDeck to play this game.

Task analysis

Task: Start a new round

Goal: Clean up from previous round and start a fresh round

Subtasks:

  1. Collect all the cards into one stack
  2. Shuffle the stack
  3. Deal cards by splitting the stack into different stacks
  4. Give the stacks to the players
Task: Communication

Goal: Convey information between players
Subtasks:

  1. Select which users to send message to
  2. Enter and send the message
Task: Play a card

Goal: Move a card from your hand onto the table
Subtasks:

  1. Select a card or multiple cards from your hand
  2. Move the cards onto the appropriate stack of the table
Task: Update the score

Goal: Keep the score consistent

Subtasks:

  1. Select player's score to change
  2. Input the new score
Task: Change games

Goal: Clean up table and set up deck for a new type of game

Subtask:

  1. Clear the table
  2. Possibly change the deck composition (# of decks, add jokers, etc)

Domain analysis

Entities

Player: A person connected to the server. Has a name, a seat position, and a score for the current game.

Hand: Represents the cards that the player is holding. Each player has exactly one hand. Only he can see the contents of his hand, others just see how many cards he is holding.

Stack: A collection of cards, representing a physical stack of cards on the table. Stacks can be rotated different ways on the table, and can be face up or face down. Hands are special instances of stacks.

Card: Represents a card in the deck. Has a number and suit, possibly a joker. Stacks contain a positive number of cards.

l

  • No labels