"Brain Games" is a set of five console games, built on the principle of popular mobile applications to upgrade brain power. There are questions in every game needed to be answered correctly. The game is considered to be over after three questions answered correctly. In case of wrong answers the game is completed and the user’s being offered to play it again. The games are as follows:
- Calculator. Arithmetic expressions to be calculated.
- Progression. Search for missing numbers in a sequence of numbers.
- Determination of an even number.
- Determination of the greatest common divisor.
- Determination of a prime number.
Firstly you have to clone this repo
Then using npm:
$ npm install
$ npm link
Using npm:
$ brain-calc
Using npm:
$ brain-math
Using npm:
$ brain-even
the answer must be entered in lowercase
Using npm:
$ brain-gcd
Using npm:
$ brain-prime
the answer must be entered in lowercase