Skip to content

Project Finished !#713

Open
Sangeerths wants to merge 2 commits into
the-csharp-academy:mainfrom
Sangeerths:main
Open

Project Finished !#713
Sangeerths wants to merge 2 commits into
the-csharp-academy:mainfrom
Sangeerths:main

Conversation

@Sangeerths

Copy link
Copy Markdown

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.

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.
@Sangeerths Sangeerths marked this pull request as draft June 29, 2026 17:21
@Sangeerths Sangeerths marked this pull request as ready for review June 29, 2026 17:21

@TheCSharpAcademy TheCSharpAcademy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@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 Sangeerths left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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

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