This is a simple 15 questions about python to check your knowledge inspired by "Who Wants to be a Millionaire". This quiz contains questions about python history, some basic functions and some advanced questions. You can change your answer ones, but if you answer wrong the game is over.
The deployed app can be found Here
You need to answer 15 questions using A, B, C or D. After every answer. You must lock the answer in case you change your mind. You can change your answer, and you will be asked to input a new answer. Please note you can only change your answer once.
The challenge was to build a command line (terminal) app or game using python only. And deploy it to Heroku. No liberties are used in this project.
Introduction and greeting to the user
Listing questions one by one so the user can focus only on one question and options for that question \
Giving user option to change answer
I manually tested the application using the following actions:
Passed the code in a code validator Raised errors for invalid inputs and looped the input until a valid input was entered I tested it using my local terminal and the Code Institute Heroku terminal
User input validation (User was able to skip typing the answer, but it would fail on checking answer) My question and options were too long. I used line breaks to fix this.
No remaining bugs
This project has been deployed on Heroku using the Code Institute mock terminal
- Create a free Heroku account
- Create a new app
- Set up Config Vars
- Choose deployment method as GitHub
- Connect Heroku with GitHub
- Prepare repository for deployment
- Push repository
- Enable automatic deploys
I want to thank my mentor Antonija Simic. She is amazing, and she helped me a lot with this project.I had a lot of problems with if and else statements, but she jumped into it and gave me great advice on how to sort those problems out.
This project was created for educational purposes only.