Giter VIP home page Giter VIP logo

mad-lib-reading's Introduction

Mad Lib Reading

This project is inspired by previous games I have played and enjoy, where you write words which will be put into a story or a text. This can sometimes have a very bizarre but still fun result, which is why I went for the idea.
This project prompts the player to write appropriate words which will finally be put into a short poem, written by me.

Live version of Mad Lib Reading

responsive layout of project

Features

Existing Features

  • User input
    • Player will get a type of word which they will write in the terminal and then press enter

user input image

  • Specification of grammar on some input
    • user input is stored for use in template

  • template file grab
    • template is grabbed from external file
    • user input is put in template
    • template is run and displayed with user input

  • User asked whether they want to play again

Future Features

  • Additional templates that the user can choose from
  • Specify grammar for input

Testing

I have manually tested the project by:

  • Passed code through PEP8 and confirmed that no problems arose.
  • Checked for redundant code and spelling errors
  • Tested project in local terminal and Heroku terminal.

Bugs

Solved Bugs

  • Added the whole game in a loop to allow for the player to choose if they want to play again.

Remaining Bugs

  • No input validation except for 'N' if player is asked to play again.

Validator Testing

Deployment

Mad Lib Reading was deployed using Code Institute's moch terminal for Heroku.

  • Steps for deployment:
    • Create a new Heroku app
    • Add PORT 8000 to a Config Var
    • Add buildbacks
      1 heroku/python
      2 heroku/nodejs
    • Link repository to Heroku
    • Click Deploy

Credits

  • Code institute for the deployment terminal
  • Kevin Fortier for his very detailed and good tutorial/guide which showed me exactly what and how to do what I wanted to give me the result I wanted.

mad-lib-reading's People

Contributors

skallad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.