mallo-c / fast-math

A math game, written in Vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fast math

Netlify Status
A math game about fast counting.

Build and run

npm install
npm run build
cd dist
npx serve

Custom settings

Modify settings in file src/settings.ts. Quick overview:

Property name Meaning
numberOfStars The best rating you can get
answerTime The time the program gives for an answer in seconds
answerVariants How much variants program will give
taskGenerator How the tasks would be generated
taskGenerator.maxNumber 1. The largest number the program may give as a parameter;
2. linear if the limit should grow.
taskGenerator.ratio Only if taskGenerator.maxNumber is linear. The ratio between given tasks and maximum number.
taskGenerator.minNumber Only if taskGenerator.maxNumber is linear. The smallest number program may give as a parameter.
resetTimeIfWrong true if program should reset remaining time if user's answer is wrong, false otherwise.
doReset true if program should reset time ever. If it is false, resetTimeIfWrong will be ignored.
penalty Penalty time for the wrong answer in ms

Demo

Demo with default settings: https://fast-math-mallo-c.netlify.app/

About

A math game, written in Vue

License:ISC License


Languages

Language:Vue 66.1%Language:TypeScript 18.5%Language:CSS 8.0%Language:HTML 7.5%