An interactive quiz app where users can play and compete for the highest scores. The design and question themes are fully customizable, allowing adaptation to any topic of interest.
- Option to start playing.
- Option to view the score ranking.
- The game consists of 10 random questions.
- Each question has 4 possible answers, but only one is correct.
- After answering a question, the game automatically moves to the next one.
- 30 seconds per question.
- A visible countdown timer will show the remaining time.
- If the timer reaches 0, the answer is considered incorrect, and the game proceeds to the next question.
- After answering or running out of time, the app will indicate whether the answer was correct or incorrect.
- The correct answer will also be shown.
- After a couple of seconds, the app will automatically navigate to the next question.
- Incorrect answer or time runs out: 0 points.
- Correct answer with time remaining: Points equal to the number of seconds left on the timer.
- Example: If 9 seconds remain when the question is answered correctly, 9 points are awarded.
- After answering all 10 questions, a final score screen will appear.
- The user must enter their name to save the score persistently.
- Note: Scores are saved even if the app is closed.
- Once the score is saved, the app navigates to the ranking screen.
- Displays the top 10 scores, sorted from highest to lowest, along with the player names.
- From this screen, users can always navigate back to the home screen.
- Screen to select the theme fo the quiz questions.
- Making API calls to get the quiz questions (https://opentdb.com/api_config.php)
- Clone the repository:
git clone https://github.com/your-username/quiz-game.git