https://github.com/sokilskill/math-game
math
https://github.com/sokilskill/math-game
react typescript vite
Last synced: 3 months ago
JSON representation
math
- Host: GitHub
- URL: https://github.com/sokilskill/math-game
- Owner: Sokilskill
- Created: 2024-04-30T17:20:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T17:54:52.000Z (about 2 years ago)
- Last Synced: 2025-03-26T02:14:31.561Z (over 1 year ago)
- Topics: react, typescript, vite
- Language: TypeScript
- Homepage: https://sokilskill.github.io/math-game/
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
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
```