Mad Libs Game(Madlibs2)
Overview
Mad Libs is a word game where players are prompted to enter different types of words (such as nouns, adjectives, verbs, and adverbs) in order to create a story. In this version of the game, players are given the option to choose between randomly generated words or words they input themselves.
Installation
Clone the repository to your local machine.
Make sure you have Python 3 installed.
Install the wonderwords package by running pip install wonderwords
.
Usage
- Open your terminal and navigate to the directory where the madlibs.py file is located.
- Run the command
python3 madlib.py
. - Follow the prompts to choose between randomly generated words or inputting your own words.
- Once all words have been inputted, a sentence, clause or phrase will be generated using the words provided.
Features
- Randomly generated words: players can choose to have words randomly generated for them by the wonderwords package.
- Custom words: players can input their own words to use in the story.
- Grammar and sentence structure: the game ensures that the story generated is grammatically correct and follows proper sentence structure.
ps sentences are grammarticaly correct not semantically correct
Contributing
If you find a bug or have an idea for a new feature, please create an issue on the repository. Pull requests are also welcome.
License This project is licensed under the MIT License. See the LICENSE file for more information.##