"Brain Games" is a set of five console games, built on the principle of popular mobile brain training applications. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered to be completed. Wrong answers end the game and suggest replaying it.
Games:
- Calculator. Arithmetic expressions to be evaluated.
- Progression. Find missing numbers in a sequence of numbers.
- Find an even number.
- Find the greatest common factor.
- Find a prime number.
Node.js version 13 or higher
$ make install
$ make brain-calc
$ make brain-even
$ make brain-gcd
$ make brain-prime
$ make brain-progression
$ npm ci
$ node bin/brain-calc.js
$ node bin/brain-even.js
$ node bin/brain-gcd.js
$ node bin/brain-prime.js
$ node bin/brain-progression.js