Welcome to Trivia Game, a simple Python command-line application that allows users to play a trivia game.
The Trivia Game presents users with trivia questions and prompts them to select the correct answer from a list of options. The game keeps track of the user's score and provides feedback on each answer.
- Multiple-choice trivia questions
- Score tracking
- Command-line interface
To run this code, ensure that you have Python3 downloaded. If not, use this link to download: https://www.python.org/downloads/
To run Trivia Game on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/TriviaGame.git - Navigate to the project directory:
cd TriviaGame - Run the Python script:
python3 trivia.py
- Implement a timer feature to add a time constraint to each question.
- Implement a high score tracking. Create a leaderboard for the high scores, then display it at the end of the game.
- Expand the Trivia Game by adding categories. Allow the user to choose a specific category (science, history, sports, etc.)
- Implement lives for the user. If they get a question wrong, they lose a life; the game is over once they lose 3 lives.
- Add lifelines for users to use when they are stuck on a question. Example: 50/50 - removes two answer options, gives the user a hint, etc.