Giter VIP home page Giter VIP logo

python-made-quiz's Introduction

Python-Made Quiz

This quiz is a Python terminal game that will run in the Code Institute mock terminal on Heroku.

Users will recieve one question at a time and earn 1 point per correct answer, just like a traditional quiz game. Play the game here Screenshot of Project

How to play

This quiz game does not differ from the ones that you are familiar with.

In this game, the player will need to enter a name before continue to the questions.

The player will gain 1 point if the answer's correct.

The game will continue to the next question regardless if the answer's correct/incorrect.

There is a maximum of 5 points in this game.

Features

Existing Features

  • Name input validations screenshot of name validation
  • Save username and score to a google sheet screenshot of add_user_score function

Future Features

  • Add function to randomize questions
  • Add timer function so player have X seconds to answer

Testing

I've tested this project by doing following:

  • Passing code through PEP8 and confirmed no errors
  • Give no input for name, save data to google sheets
  • Game works fine in both local and Code Institute Heroku terminal.

Bugs

Solved bugs

  • When I first tried the live version with Heroku i got ModuleNotFoundError for gspread. I fixed that by add necessary text to requirements.txt file.

Remaining bugs

  • No unsolved bugs

Validator testing

Deployment

This project was deployed using Code Institute's mock terminal for Heroku.

  • Steps for deployment:
    • Fork or clone this repository
    • Create a new Heroku app
    • Set the buildbacks to Python and NodeJS in that order
    • Link the heroku app to the repository
    • Click on Deploy

Credits

  • Code Institute for deployment terminal

python-made-quiz's People

Contributors

teodorstrom 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.