A (dynamic) Python implementation of the classic and fun Mad Libs game.
The dynamic nature of this application allows the user to create their own stories. If you wish to add your own story, a key,value pair must be added to the dictionary in the code and the text file must exist in the 'stories' directory.
In the content of the file, I use what I call 'cues' to trigger the application's behavior of prompting the user for parts of speech. All cues are encased in a set of curly brackets {}. (Spaces are NOT supported!)
In the first example below, the application wouldn't prompt the user to enter anything and would print back the exact string from the text file.)
The cat jumped over the {big noun}.
In the below example, the application would prompt the user to enter a noun.)
The cat jumped over the {noun}.