Skip to content

A set of five console games based on popular mobile brain training apps

Notifications You must be signed in to change notification settings

zapupenec/brain_games

Repository files navigation

Actions Status Maintainability

EN | RU

«Brain games»

«Brain games» is a set of five console games based on the popular mobile brain-pumping apps. Each game asks questions to which you must give the right answers. After three correct answers, the game is considered completed. Incorrect answers end the game and offer to go through it again

Games:

  • Even number determination.
  • Calculator. Arithmetic expressions to be calculated
  • Determination of the greatest common divisor.
  • Progression. Finding missing numbers in a sequence of numbers.
  • Determining a prime number.

Installation

Make sure you have Node.js version 14 or higher installed.

node --version

Clone the repository locally and install the dependencies.

make install

The project is a tutorial and has not been published. Install the package globally from the local directory. From the project root directory, run the command:

npm link

You may need to use sudo

sudo npm link

Examples of the game process

«Even number determination»

brain-even

asciicast

«Calculator»

brain-calc

asciicast

«Determination of the greatest common divisor»

brain-gcd

asciicast

«Progression»

brain-progression

asciicast

«Determining a prime number»

brain-prime

asciicast

About

A set of five console games based on popular mobile brain training apps

Resources

Stars

Watchers

Forks

Packages

No packages published