<h1>Mad Libs</h1>
<p>Mad Libs are a game that you play with words. It's also a great introduction to how variables work in coding. A variable is just a bucket where you put something. In Mad Libs, those variables are the following:</p>
<ol>
<li>An <strong>ADJECTIVE</strong> describes something or somebody</li>
<li>An <strong>ADVERB</strong> tells how something is done.</li>
<li>A <strong>NOUN</strong> is the name of a person, place or thing.</li>
<li>A <strong>VERB</strong> is an action word.</li>
<li>A <strong>PLACE</strong> can be a country, city, room etc.</li>
<li>An <strong>EXCLAMATION</strong> or <strong>SILLY WORD</strong> is any sort of funny noise or sound effect.</li>
<li>Specific words like <strong>NUMBER</strong>, <strong>COLOUR</strong>, <strong>ANIMAL</strong> or <strong>PART OF THE BODY</strong> means that the variable you're filling in is actually one of those things.
<li><strong>PLURAL</strong> means more than one thing.</li>
</ol>
On the next screen you'll be prompted to enter some text in to fill the variables out. In this story there are <strong>11</strong> in total.
After that, you'll be shown what you've chosen, and then you can proceed to see how your entries affect the story.
[[Continue to variable input|Variables]](set: $colour1 to (prompt: "Please enter a colour.", ""))
(set: $pluralnoun1 to (prompt: "Please enter a plural noun.", ""))
(set: $adjective1 to (prompt: "Please enter an adjective.", ""))
(set: $exclamation1 to (prompt: "Please enter an exclamation.", ""))
(set: $sillyword1 to (prompt: "Please enter a silly word.", ""))
(set: $verbpast1 to (prompt: "Please enter a past tense verb.", ""))
(set: $pluralnoun2 to (prompt: "Please enter a plural noun.", ""))
(set: $verb1 to (prompt: "Please enter a verb.", ""))
(set: $pluralnoun3 to (prompt: "Please enter a plural noun.", ""))
(set: $verb2 to (prompt: "Please enter a verb.", ""))
(set: $pluralnoun4 to (prompt: "Please enter a plural noun.", ""))
Here are the variables you've chosen:
Color: $colour1
Plural noun: $pluralnoun1
Adjective: $adjective1
Exclamation: $exclamation1
Silly word: $sillyword1
Past tense verb: $verbpast1
Plural noun: $pluralnoun2
Verb: $verb1
Plural noun: $pluralnoun3
Verb: $verb2
Plural: $pluralnoun4
[[Continue to story|MadLib]]One day, Little $colour1 Riding Hood was going through the forest carrying a basket of $pluralnoun1 for her grandmother. Suddenly she met a big $adjective1 wolf.
"$exclamation1!" said the wolf. "Where are you going, little $sillyword1?"
"I'm going to my grandmother's house," she said. Then the wolf $verbpast1 away.
When Miss Riding Hood got to her grandmother's house, the wolf was in bed dressed as her grandmother.
"My, Grandmother," she said. "What big $pluralnoun2 you have."
"The better to $verb1 you with, said the wolf.
"And, Grandmother," she said, "what big $pluralnoun3 you have."
The wolf said, "The better to $verb2 you with."
And then she said, "What big $pluralnoun4 you have, Grandmother."
But the wold said nothing.
He had just died from eating Grandmother.