Hangman is a game where a player enters a letter and the game checks to see if that letter is within a
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →Hangman is a game where a player enters a letter and the game checks to see if that letter is within a secret word. When a letter is found that letter is revealed to the player and they can make their next guess. If the word does not contain the guessed letter, the player receives 1 pip. When the player receives the 6th pip the player looses.
Write a pseudcode program that plays the above game.
For your convenience:
Assume there is a file called words.dat in your current working directory. This file contains 1000 words.
This project is comprehensive and covers 80% of all the material we cover in class. As such it will represent 1/3 of your grade. Note there will be no final exam.
For those wishing for an extra challenge display the askii person based on pips.
O/
|
/
As each pip is earned a new part is revealed.
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds