Yorkville High School Computer Science Department
Yorkville High School Computer Science Department on Facebook  Yorkville High School Computer Science Department Twitter Feed  Yorkville High School Computer Science Department on Instagram

Yorkville High School Computer Science

ASSIGNMENTS: House Builder - December 20, 2017 :: Pong - December 21, 2017

Computer Programming I :: Projects :: MadLibs

Problem

You have been giving the immensely important task of designing a Mad Libs game from scratch. A MadLib is a story with words taken out. The words are replaced by the person playing the game who chooses them before reading the story. For example, if an adjective was removed then the player would be asked for an adjective. You can also get more specific by asking for a past tense verb, videogame, or city name that begins with "Chi" and ends with "cago."

You do not have to create a MadLib from scratch. You can go to Teachnology for some example MadLibs, but note that one of the requirements is you must use a word twice, so you may have to modify some of those examples.

Specific Requirements

  1. Use text boxes to take input from the player for MadLibs.
  2. You should include at least 10 different words with at least 3 different types of words.
  3. At least one word should be used in the story more than once.
  4. Create labels to go along with the text boxes so the player knows what to enter.
  5. Create a button that will display the story in a message box. Make sure the message box has a title.
  6. Store the text box contents and the final story in string variables.
  7. Rename the form and all controls on the form.
  8. Determine a good name for each variable following the rules.
  9. Rename the form and all controls on the form using a three-letter prefix.
  10. Add a comment header following class guidelines.

Tips

Yorkville High School Computer Science Department on Facebook Yorkville High School Computer Science Department Twitter Feed Yorkville High School Computer Science Department on Instagram