Brain Games is a set of five console arithmetic games. Each game require answers that need to be written correctly: yes/no or a number. There are three rounds in each of the games that you need to complete to win a game. Wrong answers end the game, but you can replay it.
- Is This Number Even? (brain-even) Determine if the number is even.
- Calculate This (brain-calc) Calculate an arithmetic expression.
- Greatest Common Divisor (brain-gcd) Determine the greatest common divisor of the pair of numbers.
- Progression (brain-progression) Enter the missing number in a sequence of numbers.
- Is This Number Prime? (brain-prime) Determine if the number is prime.
- The games can only be run on Unix-like operating systems
- Node.js v13 or higher
- Clone the repository https://github.com/anewauroraeva/Brain-Games
- Go to repository directory
cd frontend-project-44
- Install dependencies
make install
- Install the package
npm link
Enter in your console:
brain-even
, brain-calc
, brain-gcd
, brain-progression
or brain-prime