https://github.com/imbryan/trivia-app
Trivia app for code challenge
https://github.com/imbryan/trivia-app
Last synced: 26 days ago
JSON representation
Trivia app for code challenge
- Host: GitHub
- URL: https://github.com/imbryan/trivia-app
- Owner: imbryan
- Created: 2020-11-01T23:35:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-02T04:39:25.000Z (over 5 years ago)
- Last Synced: 2025-01-13T15:17:12.578Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Trivia Training app
This is a trivia training app, designed per code challenge.
## Requirements
* Desktop environment (uses GUI)
* Python 3.7
## Running the program
* Navigate to download location. In the same directory as project files, insert a JSON file containing your trivia data. Such data must exist as an array of at **least** 10 JSON objects, such that **each** object contains the following key-value pairs:
* "question": (1 string - this is the question text)
* "incorrect": (array of 3 strings - these are the incorrect options)
* "correct": (1 string - this is the correct answer to the question)
* Open CMD or terminal and navigate to the project directory. Run **python controller.py**.
## Features
* Selects 10 questions randomly from your array of JSON objects (program assumes at least 10 given)
* 4-option multiple choice; answers are shuffled to decrease predictability
## Known issues