Menu

Feature List

wsolom01

Hangman Feature List

  • Enter a secret Word
    • Get secret word from user
  • Display length of secret word
    • After reading in secret word, display list of dashes (-) that is the same length as the word
  • Prompt user to guess one letter
    • Give second user a way to guess one letter at a time.
  • Display guess
    • Update displayed list of dashes with correctly guessed letter in correct location
      in list of incorrect guesses
    • If guess does not match, add it to the list of incorrect guesses and decrement number of incorrect guesses remaining.
  • Display how many guesses are remaining (User is allowed 6 incorrect guesses in traditional hangman format)
  • Alert user when word is guessed correctly
    • Display a message to the user indication success and of course VICTORY
    • If user runs out of guesses, reveal secret word and sorry message.
    • When incorrect guesses remaining reaches 0, player 2 has lost and must be notified.
  • Render images of body parts as incorrect guesses are made? (Possible Stretch Goal)
    • It will be easier to just render them, then to attempt to draw the figure out using java graphic stuff. Or at least thats my opinion

[Home] [Stories]


Related

Wiki: Home
Wiki: Stories

Auth0 Logo