Hangman Assignment

Hangman Assignment - Test these member functions with a...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment: Program 6: Hangman   Assignment Information Maximum grade: 100  Due date: April 14, 2008 Instructions: You have just been hired to create a fun hangman game for serious computer gaming enthusiasts. In  your game, users select their preference of gender for the unfortunate person being hung and  preference of size of the text-artwork representing the gallow and hanging person. In your design, you  must use at least one C++ class called  hangman  with the following member functions to handle the  drawing, namely  SetGender(gender)  SetSize(size)  DrawGallow(size)  DrawHead(gender, size)  DrawBody(gender, size)  DrawLegs(gender, size) 
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Test these member functions with a simple main function that calls them. Then write the main program that implements the game logic for hangman. The program should randomly choose the guess word from a list of words stored in a file. It should also allow the user to play over and over again until they indicate they no longer wish to play again. Be creative with the facial expressions and gender features. Assignment files: None Submissions: You can only submit your assignment once. No re-submission is permitted. Notification: The instructor will not be notified via email when you submit this assignment....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern