[Sprint 2] User Stories - paynem/AcesUpProject GitHub Wiki

1: Card: "As a user, I want the game to have an undo button, so I can recover from bad moves.”

Conversation:

  • When a user clicks on the undo button, the game will reverse the last move that he/she made.

  • If there are no moves to reverse, the button will do nothing.

Confirmation:

  • need to make test function for this

  • When the undo button reverses a move.


2: Card: "As a user, I want the game to have a restart button, so I can restart if the game isn't going well.”

Conversation:

  • When the user clicks the restart button, the game is reset to its starting state (i.e. all columns are cleared, the deck rebuilt back to 52 cards and then shuffled, and then 4 new cards are dealt signifying the start of a new game).

Confirmation:

  • When clicking the restart button generates a new game.

  • Use test functions to see if deck is restocked and shuffled


3: Card: "As a user, I want the game to have an exit button, so I can exit the game when I'm finished playing.”

Conversation:

  • When the user clicks the exit button, the game ends, and the user is taken to a page/screen that has a farewell message.

Confirmation:

  • When clicking the exit button takes the user to the farewell screen.

4: Card: "As a user, I want the deal pile to deal 4 cards when I click on it (or press it with my finger), so I can play during my turn.”

Conversation:

  • When the user clicks on the deal pile, four new cards are dealt (one to each pile/column).

  • If the deck is empty, nothing is dealt.

Confirmation:

  • something with test functions

  • When clicking the deal pile deals 4 new cards.


5: Card: "As a user, I want cards to be discarded (when it is allowed within the rules) when I tap them (or click them with the mouse) with my finger.”

Conversation:

  • Cards will be discarded when the user clicks or taps them.

  • The UI will only let this happen when there is a higher value card of the same suit at the top of another pile.

Confirmation:

  • When tapping or clicking a card discards it.

  • something with test functions


6: Card: "As a user, I want the cards to be represented by actual images of cards, so I feel like I'm playing a real card game and not a video game.”

Conversation:

  • Cards will be graphically represented by actual images of cards (as opposed to text that states the suit and the value of the card)

Confirmation:

  • When the game has actual graphics of cards!

7: Card: "As a user, I want to be able to drag a card to an empty pile when I want to move it.”

Conversation:

  • When the user drags a card to a pile, the card is moved there.

  • The card pile needs to be empty for the UI to let this happen.

Confirmation:

  • When dragging a card to an empty pile actually moves it.

  • something with test functions