Brain Games is a set of five console games. Each game asks questions that need to be answered. After three correct answers, the game is considered to be completed. Incorrect results end the game and offer to play it again. To exit a game simply run CTRL + C.
Prerequisites: Node.js
cd frontend-project-44
make install
npm link
Answer 'yes' if given number is even and 'no' if this number is odd. To start the game:
brain-even
https://asciinema.org/a/mdw3kdWwlKM7KKzxSedpukeWT
You need to calculate a rundom mathematical expression and give the result. To start the game:
brain-calc
https://asciinema.org/a/7X4lmREPj9bxNOvjpGAnjzvFT
You need to find greatest common divisor of two random number. To start the game:
brain-gcd
https://asciinema.org/a/PXQYAgmUGZSm9WjWTh8ewtCHL
You need to find the missing number at random series of numbers that form an arithmetic progression. To start the game:
brain-progression
https://asciinema.org/a/SmScJouuyl2T5M3bnIXDH8183
Answer 'yes' if given number is prime and 'no' if it is not. To start the game: brain-prime