User Stories - cs361-W16/Group18 GitHub Wiki

USER STORIES

INVEST MODEL

"I" ndependent (of all others)
"N" egotiable (not a specific contract for features)
"V" aluable (or vertical)
"E" stimable (to a good approximation)
"S" mall (so as to fit within an iteration)
"T" estable (in principle, even if there isn't a test for it yet)

Stories

Card: As a user I want to deal complete deck of cards and the ability to shuffle my cards to provide fairness Conversation: The game is dependent on a 52 card deck. Estimation: About a day
Confirmation: Tests if all and only one copy of the 52 cards are present in the deck.

Tasks:

  • Create deck of cards model
  • array of cards
  • shuffler algorithm
  • Button to deal cards
  • Test to make sure only one copy exist

Card: As a player, I want to remove the lower card of the same suit manually. Estimation: <1 day
Conversation: The piles should check if I have any duplicate suite and remove the lesser ones. Card cannot be removed automatically, user needs to see what cards were removed.
Confirmation: Correct card is removed.

Tasks:

  • Remove Buttons should ask which column to remove from.
  • Logic has to check that two of the same suits are on top and the lower one is the one removed.

Card: As a player, I want to move my card to an empty column if applicable.
Estimation: <1 day
Confirm: if it works?

Task:

  • Allow user to choose which card to move to the column of their choice.
  • Move button to pick column to move, and move to column. Should have two boxes to
  • Allow inputs of integers of 1-4


Card: As a player, I want to see my score during the game
Estimation: <1 day
Confirm: if the score shows up.

Task:

  • Game shows number of remaining cards in deck.
  • Tracks number of wins and losses in the session current session.
  • Win/Loss confirmation possibly