CRC_Cards_Hangman Sheet1

CRC_Cards_Hangman Sheet1 - down further As are the CRC...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CRC Card Sample - HangMan Game Basic user stories: Implemented? 1. Display start screen 2. Show high scores 3. Display word 4. Ask for guess 5. Update hangman picture 6. End the game NOTE: Only back of card is shown… front of card is missing! Responsibilities Collaborators Get the word to display Dictionary WordGUI, ManGUI Display the word WordGUI Display the hangman ManGUI Ask the user for a guess WordGUI Update the hangman ManGUI Responsibilities Collaborators Get a random word and return it Responsibilities Collaborators Display the hangman Update the hangman Initialize the hangman Dictionary ManGUI 3-6 are really one User Story "play the game", however that is too broad for this example, so stories are broken
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: down further. As are the CRC cards These CRC cards are very incomplete. Try to go through a game and see what else is needed! Startup a new game by setting a new word and initializing the hangman Note: These are not fully documented user stories. More is needed, but these should give you an idea. Game Controller Responsibilities Collaborators Display the word (with blanks) Ask the user for a guess and return it Set the word to display Responsibilities Collaborators Start a new game to be played GameController Display the start menu End the game WordGUI StartScreen...
View Full Document

This note was uploaded on 03/26/2012 for the course CS 321 taught by Professor Kinga during the Spring '12 term at George Mason.

Page1 / 2

CRC_Cards_Hangman Sheet1 - down further As are the CRC...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online