Maths screenshot

Maths

Author Avatar Theme by Nmtuan
Updated: 19 Mar 2023
280 Stars

加减法数学题生成器

Categories

Overview

The 数学题生成器 (Math Problem Generator) is a simple tool for generating addition and subtraction math problems. It is designed for printing or mental calculation. The generator can create up to 50 problems at a time, perfectly fitting one A4 paper. It offers various features such as calculations within 10, 20, 50, and 100, addition, subtraction, multiplication, division, carrying in addition, borrowing in subtraction, direct display of answers, scanning for answer display, donation support, refreshing a single problem, control over the number of problems generated, allowing repeated problems, consecutive addition, consecutive subtraction, but does not support fill in the blanks or mixed operations. The technology stack used includes Vite, pseudo-TS, Svelte, and unocss. If you like this project, you are welcome to show your appreciation and support.

Features

  • Calculations Within a Range: Generate math problems within a range of 10, 20, 50, or 100.
  • Addition: Generate addition problems.
  • Subtraction: Generate subtraction problems.
  • Multiplication: Not supported.
  • Division: Not supported.
  • Carrying in Addition: Generate addition problems with carrying.
  • Borrowing in Subtraction: Generate subtraction problems with borrowing.
  • Direct Display of Answers: Show answers directly.
  • Scanning for Answer Display: Show answers by scanning.
  • Donation Support: Support for donations.
  • Refreshing a Single Problem: Refresh a single problem at a time.
  • Control over the Number of Problems: Adjust the number of problems generated.
  • Allow Repeated Problems: Allow generated problems to be repeated.
  • Consecutive Addition: Perform consecutive addition.
  • Consecutive Subtraction: Perform consecutive subtraction.
  • Fill in the Blanks: Not supported.

Installation

The installation process for the 数学题生成器 (Math Problem Generator) is as follows:

  1. Ensure that you have Vite installed on your machine.
  2. Clone the repository from the GitHub page.
  3. Open the command line/terminal and navigate to the cloned repository folder.
  4. Run the following commands to install the necessary dependencies:
npm install
  1. Once the installation is complete, you can run the generator by executing the following command:
npm run dev
  1. Access the generator through your web browser by visiting http://localhost:3000.

Summary

The 数学题生成器 (Math Problem Generator) is a simple tool for generating addition and subtraction math problems. It offers a range of features such as calculations within different ranges, support for carrying and borrowing in addition and subtraction, direct display of answers, scanning for answer display, and more. The generator can be installed by cloning the repository and running it using Vite. It provides a convenient way to generate math problems for printing or mental calculations.