Skip to content

anthonyBosek/madlibs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AAA MadLibs

AAA MadLibs is a python command line application were the user and add their info to the data base, and pick through a list of categories that will provided a random madlib template that the user can then fill out the words list to complete the madlib. After completion the application will display the completed madlib and give the user the option to save or delete the madlib. After completing multiple madlibs the user can view and delete their saved madlibs. Finaly the user can delete their information from the data base.

Intro To Project

  • This project was made to complete the Phase 3 Project python assignment for the SE-West-091123 class for the Flatiron Software Engineering Boot Camp.
  • The project was completed using the following: Python3, SQLite, asciart, rich.

Installation

  • fork and clone this repository to your local machine
  • install pipenv
    pipenv install
  • initiate pipenv shell
    pipenv shell
  • install rich
    pip install rich
  • access the Command Line Interface
    python libs/cli.py

Using the Application

  • The user will be prompted on the welcome page to "start" the application, "exit" the application, or inquire for "help" (which will bring up an info menu and list of commands) by entering one of the three "-start", "-exit", "-help". If any other input is entered the user will receive an error message.
  • After starting the application the user will be required to enter ther information (first and last name) which will be stored into theauthor data table to track each users madlibs.
  • Once the user has entered ther information they will be propmpted to choose a category of madlibs by its corrisponding number from our list of categories to generate a random madlib template from that category.
  • The random template will prompt the user with a list of words to fill out that will be inputed into the templates text.
  • After the user fills out the list of words the application will print out the finished madlib with the users words and give the user the option to either save or delete the created madlib.
  • The user can then view their saved madlibs and have the ablitiy to delete them.
  • The user has the ability to remove their information from the data base.

Future features

  • implement nltk for parts of speech validation
  • a random word generater for random madlib creattion

License

  • This project is is made in conjunction with the standard MIT license provided by GitHub upon creation of a new repository. A copy of the license is included with this project in a file named: LICENSE.

What I Learned

  • Anthony: This was a great project! Working with Alberto and Austin was an awesome experience! This project provided a unique way to jump into the logic and syntax of Python, SQL, and the way a database works with a backend API. A lot of the things I learned in this project were more about the process of working on a project with a team. I learned how to better use git and github to collaborate with others on a project. I also learned how to use the rich library to make the command line interface look better. I learned how to use the sqlite3 library to create a database and how to use it to store and retrieve data. I also learned how to use the asciart library to create ascii art for the command line interface.
  • Austin: I learned alot working on this project. This was my first python project and first command line application. It was a different experience not being able to see things and debug in the console, but it taught me how to use pytyons debugger and how to debug code in a new way. Also, working with the sqlite data base was new and diffrent from the json data bases that I have work with prior. This project and my grouop mates Anthony and Alberto have taught me alot about python and backend development.
  • Alberto: I had a great time working time working with Anthony and Austin. We all learned so much together and in this project we were able to highlight our python and SQL skills to create a interactive story generator. The most interesting thing I learned through working on this project was creating and manipulating the database tables, then reusing that data in multiple different areas in our code base. I have a lot of fun learning how ot use Rich to add some more life into our command line game. A challenge I faced during the this project was getting used to using the debugger in python but overall I feel like I have a much better understanding on how to use the debugger. I am very please with our projects functionality and style.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages