Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.48 KB

File metadata and controls

37 lines (31 loc) · 1.48 KB

Assignment: MadLibs

You are going to create a MadLib game! Use this resource if you haven’t played a MadLib in a while to get reacquainted with this thrilling adventure using parts of speech.

Primary Requirements

  • Create a MadLib program that accepts input from the user and outputs a completed MadLib
  • Use up to ten different parts of speech in order to fill in your MadLib
  • Output should consist of a paragraph of output that has the user’s input substituted into the MadLib

Example Output

Below is an example output from running through a MadLib exercise. Don’t forget, your code and MadLib should be unique to you!

Welcome to my MadLib program. Please enter in some information below:

name: Starr
adjective: huge
noun: tablecloth
adjective: dry
food (plural): tacos
noun (plural): packs
verb ending in -ed: ended
noun: jellyfish

HERE'S YOUR MADLIB.......

Come on over to Starr’s Pizza Parlor where you can enjoy your favorite huge-dish pizza`s.
You can try our famous tablecloth-lovers pizza,
or select from our list of dry toppings,
including delicious tacos, packs, and many more.
Our crusts are hand-ended and basted in jellyfish to make
them seem more Hand-made.

Optional Enhancements

  • Use comments to explain your code
  • Reuse at least one word
  • Ask for at least 1 number
  • Explore Ruby's built in methods for String like capitalize, downcase, upcase, and utilize them accordingly