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

New categories and reduced question producing time #86

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

ChristianFN2
Copy link
Contributor

I added the categories 'Guess the monument', 'Guess the tourist attraction' and 'Guess the food'.

Also, the filtering through the query was very inneficient so I moved it to the code and simplified the queries as much as I could to reduce the waiting time.

ChristianFN2 and others added 2 commits April 2, 2024 19:17
to reduce waiting between questions
questions
I had written 'imagen' instead of 'images'
Copy link
Contributor

@andrrsin andrrsin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work Christian! A future approach we could use to optimize is set a limited number of questions per game and load them before the game starts, in that way we also reduce the nuber of requests.

@andrrsin andrrsin merged commit 9bb383c into develop Apr 2, 2024
1 check failed
@andrrsin andrrsin deleted the questions-add-categories branch April 7, 2024 23:12
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.

2 participants