Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added category selection to the trivia game #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ImMortaLGuruji
Copy link

@ImMortaLGuruji ImMortaLGuruji commented Jun 15, 2024

Added the feature where you can select a category in trivia to get a question from.

Changes

  • A new option named "category" added to the options for the trivia game. Using this option users can select a preferred category to get the question from. If this option is left null then a random category is selected.
  • I have also added error checks for this option so the new code does not contain any bugs.
  • Also updated examples to have the new category option.

Added the feature where you can select a category to get a question from.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant