Skip to content

Repository files navigation

Learn sum

A tiny game for practising mental addition (and, optionally, subtraction).

The game shows one number at a time. Add each one to a running total in your head. Once the total passes a configurable threshold, hit Reveal to check whether you kept up.

Configuration

All game defaults and slider ranges live in src/config.ts — change a value there and every screen that uses it updates automatically.

Development

npm install
npm run dev

Checks

npm run typecheck
npm run lint
npm run prettier
npm run build

Deployment

Pushes to main are built and deployed to GitHub Pages automatically via .github/workflows/build-deploy.yaml. This requires Settings → Pages → Source to be set to GitHub Actions once, in the repository settings.

About

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages