Brain Games.
This is a training project by Hexlet's student that includes 5 console games and introduction program.
For installiation these programes you need to clone this project and than enter the command npm link
(You also need to have an already installed node.js).
- Brain-games. This is a greeting. Print Your name and the program will say "Hello!" to You. To start You need to enter the command
brain-games
. - Brain-even. Game shows the number three times and You guess if it's even. Start command is
brain-even
. - Brain-calc. It is calculation, You need to calculate three examples on summation, subtraction and multiplication. Start command is
brain-calc
. - Brain-gcd. You need to find the greatest common divisor of two numbers. Start command is
brain-gcd
. - Brain-progression. Find and print the missing number in progression. Start command is
brain-progression
. - Brain-prime. Is the printed number prime? Start command is
brain-prime
.
All games have three rounds, if your answer is correct all times - You win, other way - let's try again.
You can see how to install and run the games at the following links: