Skip to content

sen98ia/brain-games

Repository files navigation

Actions Status Maintainability

🧠 Brain Games

Build with: JavaScript, ESlint, npm, readline-sync.

Description

Brain games is a collection of 5 mini-games to test and train math skills. Each game has 3 rounds of math questions on a chosen topic. 3 correct answers in a row successfully complete the game. If the answer is incorrect, the game will be stopped.

Collection of mini-games

  • Brain-even — determining an even number.
  • Brain-calc — calculation of mathematical expressions.
  • Brain-gcd — determining the greatest common divisor.
  • Brain-progression — search for missing elements in a sequence of numbers.
  • Brain-prime — determining a prime number.

Requirements

Node.js v13.2.0 or higher.

Setup

Use the following commands in your CLI:

git clone [email protected]:sen98ia/brain-games.git
cd brain-games
npm install

User guide

To play a mini-game, use one of the following commands:

  • brain-even

     brain-even

    asciicast

  • brain-calc

     brain-calc

    asciicast

  • brain-gcd

     brain-gcd

    asciicast

  • brain-progression

     brain-progression

    asciicast

  • brain-prime

     brain-prime

    asciicast

About

Five CLI maths mini-games in JavaScript

Resources

Stars

Watchers

Forks

Packages

No packages published