Menu

#4 Hangman Stories - Version 1.0

open
nobody
None
5
2009-09-13
2009-09-13
No

Stories: Iteration 1.0
1. A welcome message is displayed.
2. A message asks the first user for the initial word.
3. The initial word is replaced with underscores or blanks as well as every letter in the alphabet.
4. The second user is prompted to type a letter as a guess.
5. If the letter is in the word, it replaces all of the underscores where it belongs.
6. If the letter is incorrect, the letter is removed from the list of the alphabet, a chance to guess wrong is removed and the image gets updated at each and every wrong guess.
7. If the word is not guessed and the user still has chances left repeat stories 4-6.
8. If the user guesses the word, show a message saying the second user wins.
9. If the user runs out of chances to guess, show a message saying the first user wins and what the hidden word was.
10. Ask if users want to play again or restart game.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB