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

https://github.com/sokilskill/math-game

math
https://github.com/sokilskill/math-game

react typescript vite

Last synced: 3 months ago
JSON representation

math

Awesome Lists containing this project

README

          

# Math Game

This is a simple math game built with React. It generates random math problems for addition, subtraction, multiplication, and division.

## Features

- Four operations: addition, subtraction, multiplication, and division.
- Two difficulty levels: easy and hard.
- Feedback on the correctness of the answer.
- Ability to generate a new question.
- Validation to avoid 0 values in the equation.

## Usage

- Choose the operation (addition, subtraction, multiplication, or division) by clicking on the corresponding button.
- Select the difficulty level (easy or hard) from the dropdown menu.
- Enter your answer in the input field and click "Check" to verify.
- If the answer is correct, you will see a success message. Otherwise, you will see an error message.
- Click "New Problem" to generate a new math problem.

## Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request for any improvements or bug fixes.

## Getting Started

To run this project locally, follow these steps:

```bash
cd math-game
npm install
npm run dev
```