You will create a basic hangman application with your knowledge of object oriented programming. You will create list of words that the user will have to guess. In this case, use words that have to do with technology and are not too obscure. This application will NOT be case sensitive. Be sure to catch incorrect user input. Dont make a word in your list more than 8 characters long. The user will have 8 chances to guess until the 9th where the user losses (This is coming from the picture game of hangman that is played with the body parts). Include various classes and your knowledge of encapsulation and other proper programming practices.

  • Welcome user and prompt user basic instructions
  • Print the user the amount of underscores to represent the amount of letters in the word.
  • Ask the user to enter a letter and be able to enter the full word if they wish
  • Add all the letters to the hidden word with underscores in the next section if the letter the user entered is one or more of the letters in the hidden word. If letter entered is wrong, then Ex: If hidden word is shown as _ _ _ and the user entered an I (the word is int), then display I _ _
  • If the user entered the wrong word, ask them to play again. If they won, congratulate them and ask them to play again.
  • Use a point system to keep track of wins and losses.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.