Math Games Project
Author: Shahriar Siddique
Date: 12-11-2018
Version: 2.0
Description
This is a simple command-line Math Games Project written in C. The project offers three different game modes (easy, medium, and hard) and multiple math operations (addition, subtraction, multiplication, and division) for players to practice their math skills. The game also includes a time-based scoring system, rewarding players for quick and correct answers.
How to Play
-
Compile and run the program.
-
The main menu will be displayed with the following options:
• Start Game: Choose the game mode and math operation.
• About me: Get information about the author.
• Exit: Exit the game.
-
Select the "Start Game" option to choose the difficulty level (easy, medium, hard) and the desired math operation (addition, subtraction, multiplication, division).
-
Once the game starts, you will be presented with math problems to solve.
-
Answer the problems within 10 seconds to earn a time-based score.
-
Continue playing until you decide to exit the game or choose to play again.
Features
• Three game modes: easy, medium, and hard.
• Four math operations: addition, subtraction, multiplication, and division.
• Time-based scoring system.
• Simple and easy-to-use interface.
How to Compile and Run
To compile and run the Math Games Project, follow these steps:
- Save the code into a file with a ".c" extension (e.g., math_games.c).
- Open a terminal or command prompt.
- Navigate to the directory where the file is saved.
- Compile the code using a C compiler (e.g., gcc): gcc -o math_games math_games.c
- Run the compiled program: ./math_games
Contributing
This project was created for educational purposes, and contributions are not expected. However, if you wish to improve the project or fix any issues, you are welcome to fork the repository and create a pull request.
License
This project is open-source and provided under the MIT License. You are free to use, modify, and distribute the code as per the terms of the license. Contact Information If you have any questions or feedback, you can reach out to the author, Shahriar Siddique, at shahriar.siddique1x2@gmail.com
Note: The provided readme is a basic example. Feel free to modify and expand it according to your project's needs and add appropriate contact information, license details, and more details about the game mechanics.