The Basic Trivia Game allows players to answer multiple-choice questions, providing immediate feedback on their answers. Players select answers from a set of trivia questions and receive feedback indicating whether their choice was correct or incorrect. At the end of the game, players are given a final score based on the number of correct answers. Use any language to complete the features and stories.
Display trivia questions with multiple-choice answers, provide immediate feedback, show a final score, and begin with a welcome message and instructions.
As a player I want the game to start with a welcome message and instructions, so that I know how to play the game and what to expect.
As a player, I want to see a trivia question with multiple-choice answers, so that I can select the correct answer
As a player, I want to see a trivia question with multiple-choice answers, so that I can select the correct answer
As a player, I want to receive immediate feedback on my answer, so that I know if I was correct and can learn from my mistakes.
As a player, I want to see my final score at the end of the game, so that I can assess my performance.
Track player's score throughout the trivia game, updating for correct answers and saving results to a JSON file for later retrieval and review.
JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans and machines to read and write. Learn about it if needed.
As a player, I want the game to ask for my name at the start, so that I can personalize my game experience and have my scores associated with my name.
As a player, I want the game to keep track of my score during the trivia round, so that I can see how well I am performing as I play.
As a player, I want the game to save my score to a JSON file, so that my achievements are recorded and I can track my progress over time.
As a player, I want the game to load and display previous scores from a JSON file, so that I can view my past performances and compare them with my current scores.
Load trivia decks from a directory, display a menu of decks for selection, show deck metadata, and run the game with the chosen deck.
Tip: Think about how you should store and read the decks based on the previous feature.
As a developer, I want the program to read trivia decks from a directory, so that the game can dynamically load and use different sets of questions without hardcoding them.
As a player, I want to see a menu of available trivia decks, so that I can choose which set of questions I want to play with.
As a player, I want to see the category and number of questions for each deck, so that I can make an informed decision about which deck to play.
As a player, I want the game to run with the deck I selected, so that I can play a round of trivia with my chosen set of questions.