https://github.com/changkevin51/flask-trivia-app
Trivia app with Flask
https://github.com/changkevin51/flask-trivia-app
bootstrap flask flask-application
Last synced: 2 months ago
JSON representation
Trivia app with Flask
- Host: GitHub
- URL: https://github.com/changkevin51/flask-trivia-app
- Owner: changkevin51
- License: mit
- Created: 2024-12-01T03:17:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-08T03:24:27.000Z (over 1 year ago)
- Last Synced: 2025-04-01T09:07:53.721Z (over 1 year ago)
- Topics: bootstrap, flask, flask-application
- Language: HTML
- Homepage: https://changkevin51.pythonanywhere.com/
- Size: 629 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Trivia App with Flask](https://changkevin51.pythonanywhere.com/)
**LINK TO APP: [changkevin51.pythonanywhere.com/](https://changkevin51.pythonanywhere.com/)**
## Description
This Flask application is a trivia game that allows users to answer questions from various categories and difficulties. The app fetches questions from an external API and provides an interactive user interface to test their knowledge.
Frontend: Bootstrap 4
Backend: Flask (Python)
Database: SQLAlchemy
## Installation
To run this project, clone the repository. Make sure to install the required dependencies:
```bash
pip install -r requirements.txt
```
Then, run ```app.py ```
## Features
- **User-Friendly Interface**: Intuitive and interactive design for a comfortable user experience. You can skip questions and end the quiz at any time to see your results.
- **Endless Questions**: Uses the OpenTrivia library, which has over 4122 trivia questions.
- **Categories**: Has 24 categories that are fully customizable by the user. The app starts with all of them selected.
- **Difficulties**: The questions are divided into 3 difficulties that the user can adjust.
- **Statistics Tracking**: Continuously track your performance.
- **Audio**: Background music can be played through the music toggle.
- ***NEW - Leaderboard**: Your score will be displayed on a global leaderboard.
- ***NEW - Remove 2 Wrong Answers**: Not really sure what's the right answer? No problem, improve your chances by only choosing between 2 choices instead of 4.