Project Finished !#713
Open
Sangeerths wants to merge 2 commits into
Open
Conversation
Add math quiz game with menu, scoring, and history Initialized solution and project for MathGame. Implemented console-based math quiz using Spectre.Console. Added menu for quiz, score history, and exit options. Tracks user scores and quiz completion time.
TheCSharpAcademy
requested changes
Jun 29, 2026
TheCSharpAcademy
left a comment
Collaborator
There was a problem hiding this comment.
@Sangeerths Thanks for the submission! Unfortunately the project requires a bit of work before we can approve:
🔍Questions are hardcoded. A Math Game should generate random questions instead of always asking 5 + 5, 10 - 2, etc.
🔍Input validation is missing. Convert.ToInt32(Console.ReadLine()) will crash if the user types text.
🔍It's a requirement to let the users choose the operations. Then show 5 random questions of that operation
🔍Your history could provide more information: Date, Game Type, Score, etc.
Let me know if you have any questions 😁
Sangeerths
commented
Jun 30, 2026
Sangeerths
left a comment
Author
There was a problem hiding this comment.
feat: improve math game with random questions and game history
- Generate random questions for selected operations
- Add input validation to prevent crashes on invalid input
- Let users choose the operation before starting the quiz
- Store game history with date, operation, score, and duration
- Improve score history display
- Fix answer validation and correct answer messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add math quiz game with menu, scoring, and history
Initialized solution and project for MathGame.
Implemented console-based math quiz using Spectre.Console. Added menu for quiz, score history, and exit options. Tracks user scores and quiz completion time.