Add Leaderboard, Sound Feedback, and Timer Functionality to Space Explorer Quiz Game #1064
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.
Issue Title
Enhancements for Space Quiz Game #1037
Info about the Related Issue
The aim of the Space Explorer Quiz Game project is to create an engaging and educational experience that allows players to test their knowledge of astronomy through a series of interactive quiz questions. The project seeks to combine learning with entertainment, encouraging users to improve their understanding of space-related topics while enjoying the gameplay
Name
Kritika Singh
GitHub ID
Kritika75
Email ID
kritikasingh37918@gmail.com
Identify Yourself
gssoc'24 ext
Closes
issue no. #1037
Describe the Add-ons or Changes You've Made
Added a leaderboard to track and display player scores, along with options to retake the quiz or view scores on the final screen.
Introduced a feedback system to indicate correct or incorrect answers using color coding and sound effects.
Integrated audio feedback for answers, enhancing player engagement and immersion.
Implemented a countdown timer for each question, increasing the game's challenge and urgency.
Created a structured final screen to give players control over their next steps after the quiz.
Encapsulated the main game loop within a main() function for better readability and maintainability.
Ensured the timer is visible during questions and updated the screen smoothly with background drawing.
Type of Change
Select the type of change:
How Has This Been Tested?
The game underwent multiple playthroughs to ensure smooth transitions and accurate handling of user inputs, including validation of the leaderboard and sound effects. Edge cases, such as timeouts and rapid answer selections, were simulated to verify correct game responses. Peer feedback during testing helped identify usability issues, leading to refinements for a seamless user experience.
I tried to upload a video but it says it is too long if you want i can send the video on your discord
Checklist
Please confirm the following:
@UTSAVS26