Skip to content

dogaaydinn/Math-Quiz-Console-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

    git clone /~https://github.com/your-username/MathQuizConsoleApp.git
  2. Navigate to the Project Directory

  • Use the .NET CLI to build the application:
     cd MathQuizConsoleApp
  1. Build the Application
  • Use the .NET CLI to run the application:
     dotnet build
  1. Run the Application
     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

Releases

No releases published

Packages

No packages published

Languages