An open API service indexing awesome lists of open source software.

https://github.com/dogaaydinn/math-quiz-console-app

Welcome to Math Quiz - test your brain :)
https://github.com/dogaaydinn/math-quiz-console-app

console-game csharp csharp-console-game-math-quiz game math math-quiz

Last synced: about 1 year ago
JSON representation

Welcome to Math Quiz - test your brain :)

Awesome Lists containing this project

README

          

# Math Quiz Console App

Welcome to the Math Quiz Console App! This is a simple console-based math quiz game developed using C#. The game includes different difficulty levels and keeps track of the highest scores.๐Ÿ†

## Featuresโœจ

- **Difficulty Levels**: Easy, Medium, and Hard๐ŸŽฏ
- **Time-Based Questions**: Each difficulty level has its own time limit.โฐ
- **Score Calculation**: Scores are calculated based on the accuracy of the answers.๐ŸŽฏ
- **Highest Score Tracking**: The app tracks the highest score and displays it to the user.๐Ÿฅ‡
- **Dynamic Question Generation**: Questions are generated based on the chosen difficulty level and a random base number.๐Ÿ”ข

## How to Run๐Ÿš€

1. **Clone the Repository**

```bash
git clone https://github.com/your-username/MathQuizConsoleApp.git
2. **Navigate to the Project Directory**
- **Use the .NET CLI to build the application**:
```bash
cd MathQuizConsoleApp
4. **Build the Application**
- **Use the .NET CLI to run the application:**
```bash
dotnet build
3. **Run the Application**
```bash
dotnet run

## Game Instructions ๐ŸŽฎ

- **Choose a Difficulty Level**:
1. **Easy ๐ŸŒŸ**
2. **Medium ๐Ÿ”ฅ**
3. **Hard ๐Ÿ’ช**
4. **Exit ๐Ÿšช**

## Answer the Questions

You will be given a series of math questions based on the difficulty level chosen.
You have a limited amount of time to answer each question โณ.
## Scoring

You receive points based on how close your answer is to the correct answer.
At the end of the quiz, your total score is displayed ๐Ÿ….
## High Scores

- **The highest score is tracked and displayed when the game ends ๐Ÿ“ˆ.**
Difficulty Levels โš™๏ธ
- **Easy: Time limit of 40 seconds, number range 0-10 ๐Ÿ•ฐ๏ธ**
- **Medium: Time limit of 30 seconds, number range 11-99 โŒ›**
- **Hard: Time limit of 20 seconds, number range 50-500 โฒ๏ธ**
## File Paths ๐Ÿ—‚๏ธ
- **Scores File: scores.txt - This file stores the high scores of the game. It is created in the parent directory of the project.**
## Acknowledgments ๐Ÿ™
- *Developed by DoฤŸa Aydฤฑn*