A console-based math quiz game built in C#, created as a practice project for The C# Academy and to apply skills from the freeCodeCamp C# certification.
- Choose from 4 difficulty levels (each with a different time limit per question)
- Supports addition, subtraction, multiplication, and division
- Timed answers — run out of time and the question is marked incorrect
- Random operation mode for an extra challenge
- End-of-game summary of your answers and score
-
Clone the repo
-
Open in Visual Studio / your IDE of choice, or run via CLI:
-
Select a difficulty level and start answering questions
- Working with
switchexpressions and pattern matching - Handling timed console input (
Task,Stopwatch,Console.ReadKey) - Basic exception handling
- Structuring a simple game loop
- Live countdown display during questions
- Difficulty-based score multipliers
- Unit tests for the math/generation logic